6 ms·
If you need to be precise with real numbers you need to use interval arithmetics to know your uncertainty range. Or you need infinite memory. For C++ there's a
by uuidgen 5y ago
If you need to be precise with real numbers you need to use interval arithmetics to know your uncertainty range. Or you need infinite memory.
For C++ there's a nice boost::numeric::interval library that handles it.
https://www.boost.org/doc/libs/1_66_0/libs/numeric/interval/doc/interval.htm https://www.boost.org/doc/libs/1_66_0/libs/numeric/interval/...