View Single Post
Sep15-09, 10:31 PM
I just read Wikipedia's long double page.
On the x86 architecture, most compilers implement long double as the 80-bit extended precision type supported by that hardware (sometimes stored as 12 or 16 bytes to maintain data structure alignment). An exception is Microsoft Visual C++ for x86, which makes long double a synonym for double. (The Intel C++ compiler on Microsoft Windows supports extended precision, but requires the /Qlong‑double switch to access the hardware's extended precision format.)
I don't know what compiler you're using; long double is the same as double in Microsoft Visual C++.