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: 5,138
Karma: 5328985
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
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.
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set

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