- Long double
In C and related
programming language s,long double
refers to afloating point data type that may, and usually does, have greater thandouble precision .On the
x86 architecture , most compilers implementlong double
as the 80-bit extended precision type supported by that hardware (sometimes stored as 96 bits, or 12bytes to maintain 32-bit alignment). On some other architectures, such asMacintosh PowerPC , compilers may uselong double
for a 128-bitquadruple precision type, which may be implemented in hardware or purely in software. Otherwise,long double
is simply a synonym fordouble
(double precision). Thelong double
type may or may not conform to theIEEE floating-point standard .The
long double
type was standardized in the1999 revision of the C standard, orC99 , which defined its interactions with other floating-point types and extended the standard library to include mathematical functions operating onlong double
.
Wikimedia Foundation. 2010.