3 ms·
Your best bet might be wrapping the Intel decimal floating point library: https://software.intel.com/en-us/articles/intel-decimal-floating-point-math-library ht
by simonbyrne 8y ago
Your best bet might be wrapping the Intel decimal floating point library:
https://software.intel.com/en-us/articles/intel-decimal-floating-point-math-library https://software.intel.com/en-us/articles/intel-decimal-floa...
This is a software implementation of the standardized IEEE decimal format.
- mamcx 8y agoIs that better than http://speleotrove.com/decimal/decnumber.html http://speleotrove.com/decimal/decnumber.html? But, apart to just have a decimal datatype + overload the operators and provide some functions, exist something else I need to be aware?
- simonbyrne 8y agoI'm not really sure, but from a quick skim it seems that the Intel library provides standard math functions (log, exp, sin, etc.), whereas the speleotrove library does not. Also the speleotrove one doesn't appear to have been updated since 2010.