View Single Post
Old 09-05-2012, 10:14 AM   #1
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
The operator >> is undefined for the argument type(s) float, float

okay so I think I understand the problem

Java: 1.4.blah

bitwise operators aren't overloaded to comprehend int >> float and vice versa

thought's?

code:

floatA >> 0 & 0x1 results in

Quote:
The operator >> is undefined for the argument type(s) float, float

SO...

Do I need to include a relevant library to provide overloaded maths operators? if so anyone have any suggestions on such wonders?

Or perhaps overload the function myself if that is allowed, AFAIK it is.

Or some third option involving doofy syntax errors, or just good old fashioned lack of understanding.

Reading up on stack overflow etc.. and reffing the java 1.4.2

http://docs.oracle.com/javase/1.4.2/...eredImage.html

Personal basis

http://docs.oracle.com/javame/config...217/index.html

and

KDK 1.3

https://kdk-javadocs.s3.amazonaws.com/1.3/index.html

For general reference while I get up to speed.

Thanks for your time.

Last edited by twobob; 09-05-2012 at 10:16 AM.
twobob is offline   Reply With Quote