feisty meow concerns codebase  2.140
mathematics Namespace Reference

An extension to floating point primitives providing approximate equality. More...

Classes

class  averager
 Maintains a list of numbers and provides the average for them. More...
 
class  int_averager
 keeps an average on a stream of integers. More...
 
class  chaos
 a platform-independent way to acquire random numbers in a specific range. More...
 
class  double_plus
 
class  math_ops
 A grab-bag of mathematical functions that are frequently useful. More...
 

Variables

const int AVERAGER_SIZE_LIMIT = 180000
 

Detailed Description

An extension to floating point primitives providing approximate equality.

Allows a programmer to ignore issues of rounding errors on floating point numbers by specifying that two floating point numbers are equivalent if they are equal within a small number "delta". This can help to eliminate errors in floating point logic.

Variable Documentation

◆ AVERAGER_SIZE_LIMIT

const int mathematics::AVERAGER_SIZE_LIMIT = 180000