cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Floating points number
Floating points number
May 30, 2013 at 4:41pm UTC
Rakanoth
(57)
what is the diffrences between regular float data double precision and long double precision and what is double precision
May 30, 2013 at 4:58pm UTC
MiiNiPaa
(8886)
float: 24 significant bits of mantissa, 8 bits exponent
http://en.wikipedia.org/wiki/Single-precision_floating-point_format
double: 53 significant bits of mantissa, 11 bits exponent
http://en.wikipedia.org/wiki/Double-precision_floating-point_format
long double: 64 bits of mantissa, 15 bits exponent.
http://en.wikipedia.org/wiki/Extended_precision
Topic archived. No new replies allowed.