A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
IEEE format convesion
Joined: Dec 25, 2008
Dec 29, 2008 04:00:00
Can anyone give me the code for conversion of IEEE-754 representation of
float binary to decimal number?
Joined: Mar 22, 2005
Dec 29, 2008 06:04:00
IEEE-754 representation of float binary
What exactly do you mean by this? A
that contains the bits as zeros and ones? If so, check out the Float.intBitsToFloat method.
Java web charts
Joined: Dec 21, 2008
Dec 29, 2008 06:37:00
Java uses IEEE-754 floating point values. To convert them to decimal you can just print them.
I agree. Here's the link:
- it saves me about five hours per week
subject: IEEE format convesion
Related to strictfp
No community or association for software developer?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013