i know how numerical values are represented in memory. like +3, -3, 0, 1 , 3321 and like this. can you tell me how float, double are represented in memory ? like 3.220, -9876.87 ? i mean how bits are presented in memory ? like for singed number 32th bit is 1(from left to right). so can you please throw some light on this thing that how number before decimal and after decimal is represnted in float and double data type ? thanks a lot. :-)
Jump to Post
The representation is clearly described in the wikipedia articles:
signis always a single bit. The
exponentis a fixed size, but different for each of the precisions. The
fractionalso has a fixed size (different for each …
All 6 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.