Update The results would still be the same no matter I use lf, Lf, llf.I am using Code Blocks to compile and run my C program.I am using GNU GCC compiler. I tried to printf long double float type on different computers including two Windows and one Mac but it turns out that none of them is working as I expected. Dec 11, 2019 Type long double is a floating point type that is larger than or equal to type double. Microsoft Specific The following table lists the amount of storage required for built-in types in Microsoft C.
In C and related programming languages,
long double refers to a floating-pointdata type that is often more precise than double-precision though the language standard only requires it to be at least as precise as double . As with C's other floating-point types, it may not necessarily map to an IEEE format.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |