A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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.
Ping & DNS
- updated with new look and Ping home screen widget
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:
subject: IEEE format convesion
No community or association for software developer?
Related to strictfp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014