Yes, this is supposed to work. But, as you'll notice in my first post, MSDN states:Originally posted by neilman88
im not sure, but i think that you would do:
long double number=0.0;
just like you would do:
long int number=0; for a long integer
"Previous 16-bit versions of Microsoft C/C++ and Microsoft Visual C++ supported the long double, 80-bit precision data type. In Win32 programming, however, the long double data type maps to the double, 64-bit precision data type. The Microsoft run-time library provides long double versions of the math functions only for backward compatibility. The long double function prototypes are identical to the prototypes for their double counterparts, except that the long double data type replaces the double data type. The long double versions of these functions should not be used in new code."