OpenLB 1.7
|
Some arithmetic helper functions. More...
#include "omath.h"
Go to the source code of this file.
Classes | |
class | olb::util::KahanSummator< T > |
Accurate summation of floating point numbers with the Kahan algorithm Reduces round-off effects which arise if the total sum is significantly larger than the single summands. More... | |
Namespaces | |
namespace | olb |
Top level namespace for all of OpenLB. | |
namespace | olb::util |
Functions | |
template<typename T , typename S > | |
auto | olb::util::fmod_pos (T a, S b) |
Variant of fmod (floating point modulo) that always returns positive values. | |
Some arithmetic helper functions.
Definition in file calc.h.