Javelin doesn't support floating point!!!!!! OMG
WuLabs
Posts: 7
I just figured out that the Javelin doesn't support floating point calculations or types! I guess i purchased the Javelin assuming it would have it, as both the BasicX and the Atom Pro both have it, and the Javelin definitely seems much more powerful. Especially for a language such as Java, I don't understand why the Javelin doesn't support FP!!!!
Now I have to find another microcontroller, as this isn't usable.
Now I have to find another microcontroller, as this isn't usable.
Comments
Just a note: We make all of our product information avialable to download at no charge.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
I share your pain. It appears that I am the only other embedded developer that needs native floating point
If the device supported native 32 bit signed int then maybe it would not be so painful for those in need of precision.
There is the micro fpu coprocessor. despite being an add- on device it is fairly fast. there is another thread on it elsewhere on this forum.
Kindest regards
http://www.parallax.com/javelin/applications.asp
that gives 6 decimals of precision. Range is -32768.999999
to +32767.999999
On the same page there is the Int32 class (AN011) for signed long types.
The Float32 class can be found here.
http://www.parallax.com/dl/appnt/jav/class/float32.zip
As far as I know all classes are functioning.
regards peter
Also, i saw some FP math coprocessors. They are ~$20-$40.....which is ok. but i don't want any external stuff.
[*]Float32.zip
It is avialable from www.parallax.com -> Products -> Javelin Stamp(TM) Module -> Applications -> Apps Under Development
Post Edited (Andy Lindsay) : 1/14/2005 5:55:00 AM GMT