how are float values exactly represented in memory......
manishanibhwani
0
Newbie Poster
Recommended Answers
Jump to PostFloats in C are usually stored as 32-bit (i.e. single precision) IEEE floating point numbers.
Jump to PostThe how is already sufficiently answered in the article linked in my first post. As to where: If it's a local variable, it will be stored on the stack - same as ints or any other type of value.
All 5 Replies
sepp2k
378
Practically a Master Poster
manishanibhwani
0
Newbie Poster
sepp2k
378
Practically a Master Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
sepp2k
378
Practically a Master Poster
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.