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
Quadruple precise variables?
Quadruple precise variables?
Feb 5, 2012 at 1:24pm UTC
ihato
(57)
I saw o Wikipedia that apart from normal floating points (float/double) there variables called Quadruple as well.
Why wasn't that included in C++?
Feb 5, 2012 at 1:33pm UTC
Moschops
(7244)
C++ doesn't specify how many bits must be used for a float or double. There's nothing in the language stopping a compiler writer using a 128 bit floating point number.
Last edited on
Feb 5, 2012 at 1:34pm UTC
Feb 5, 2012 at 1:39pm UTC
Peter87
(11234)
On some compilers
long
double
has quadruple precision.
Feb 5, 2012 at 2:35pm UTC
hanst99
(2869)
Quadruple just means that it has 4 times the precision of a float.
Topic archived. No new replies allowed.