Doubt related to precision?

What is the decimal digits of precision for long double and long long double in C++ ?
In other words, how many digits after the decimal point can be handled if I use long double/long long double in C++?

1 Like


1 Like

For the first time I heard about long long double, is it a type in the new standard?

1 Like

Nope, it was typing mistake by me :stuck_out_tongue:

I think the precision depends on the platform, you can output some high-precision floating-point numbers on your machine to test their extreme precision.

Here you are.