Is using the long double version of mathematical functions slower than using just the normal (double) versions? Just curious.
Is using the long double version of mathematical functions slower than using just the normal (double) versions? Just curious.
Probably not.... It will likely depend on the compiler and the quality of your code more than on the type of variable.
Powwow! You could always compare them for your standard library implementation by writing programs.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)