Standard IEEEDoublePrecision
What is the largest and smallest number be displayed in the standard? how is it?
Asked
Active
Viewed 303 times
0
Stephen Canon
- 100,816
- 18
- 175
- 263
zahra
- 1
-
5Smells like homework. And an answer that can be found on Wikipedia. – Ignacio Vazquez-Abrams Oct 20 '10 at 07:23
1 Answers
2
The largest "number" you can store in IEEE754 double precision is Infinity, the smallest is -Infinity.
If you mean non-infinite representations, then that would be roughly
±1.7976931348623157 x 10308.
See here for an excellent answer regarding IEEE754 formats. See here for a wikipedia article showing the representation.