I\'m working with C, I have to do an exercise in which I have to print the value of long double min
and long double max
.
I used float
C does not specify that long double
must have a greater precision/range than double
.
Even if the implementation treats them as different types, they may have the same implementation, range, precision, min value, max value, etc.
Concerning Visual Studio, MS Long Double helps.
To fix the problem, use another compiler that supports long double
with a greater precision/range than double
. Perhaps GCC?