moved references for implementation from header to cpp
parent
8b00840169
commit
0a91c081fb
|
|
@ -80,9 +80,6 @@ static_assert(
|
||||||
* Numerically stable function for comparing if floating point values are equal
|
* Numerically stable function for comparing if floating point values are equal
|
||||||
* within epsilon tolerance.
|
* within epsilon tolerance.
|
||||||
* Used for vector and matrix comparison with C++11 compatible functions.
|
* Used for vector and matrix comparison with C++11 compatible functions.
|
||||||
* References:
|
|
||||||
* 1. https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/
|
|
||||||
* 2. https://floating-point-gui.de/errors/comparison/
|
|
||||||
* Return true if two numbers are close wrt epsilon.
|
* Return true if two numbers are close wrt epsilon.
|
||||||
*/
|
*/
|
||||||
GTSAM_EXPORT bool fpEqual(double a, double b, double epsilon);
|
GTSAM_EXPORT bool fpEqual(double a, double b, double epsilon);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue