My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator
Functions
helpers.h File Reference
#include <stdbool.h>

Go to the source code of this file.

Functions

bool isEqual (double a, double b)
 Compares 2 double precision floating points numbers. Note that this function only compares teh first 5 digits. More...
 

Function Documentation

bool isEqual ( double  a,
double  b 
)

Compares 2 double precision floating points numbers. Note that this function only compares teh first 5 digits.

Parameters
aThe first number.
bThe second number.
Returns
true if a is equal to b and false otherwise.