more accuracy in C++
Hi, there,
How are you doing? These days I have difficult in the numerical computations. As you know there are the single, double and more accuracy precision in the Fortran. When we are using the C++, it seems that there are only float and double. Is there any way to improve the accuracy during the computation using the C++? Thank you very much. Jen |
Re: more accuracy in C++
There's "long double" type for extented precision.
|
Re: more accuracy in C++
Although true in most cases, the C++ standard does not REQUIRE long double to be any longer than an ordinary double. Use it at your peril.
|
Re: more accuracy in C++
|
All times are GMT -4. The time now is 23:22. |