well can any one help me with the internal representation of float and doubles ......i know tht they are stored using the IEEE 754 format so is that the reason why a double 0.7 is greater than a float 0.7 ?????
sweetleaf
0
Newbie Poster
Recommended Answers
Jump to PostHere is a good explaination.
doubles have greater precision than floats, so if you view the raw value of 0.7 a double might be 0.7000001 while a float might be 0.7000
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.