Does anyone know how to find out the precision of long double on a specific platform? I appear to be losing precision after 17 decimal digits, which is the sa
long double
You can use . Specifically:
LDBL_DIG