feisty meow concerns codebase  2.140
double_plus.h File Reference
#include "math_ops.h"
#include <basis/contracts.h>
#include <basis/enhance_cpp.h>
#include <basis/functions.h>
#include <stdio.h>
Include dependency graph for double_plus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mathematics::double_plus
 

Namespaces

 mathematics
 An extension to floating point primitives providing approximate equality.
 

Macros

#define DEFAULT_DELTA   0.0001
 

Macro Definition Documentation

◆ DEFAULT_DELTA

#define DEFAULT_DELTA   0.0001

the delta is the acceptable amount of difference between two floating point numbers that are considered equivalent by this class. if they differ by more than that, they are considered non-equivalent (and hence must be greater than or less than each other).

Definition at line 43 of file double_plus.h.