Openholo  v5.0
Open Source Digital Holographic Library
epsilon.cpp File Reference
#include "epsilon.h"
#include <math.h>
#include "sys.h"
#include "define.h"
Include dependency graph for epsilon.cpp:

Go to the source code of this file.

Namespaces

 oph
 

Functions

void oph::set_u_epsilon (Real a)
 
void oph::reset_u_epsilon ()
 
void oph::set_zero_epsilon (Real a)
 
void oph::reset_zero_epsilon ()
 
int oph::apx_equal (Real x, Real y)
 
int oph::apx_equal (Real x, Real y, Real eps)
 

Variables

Real oph::epsilon = 1.0e-8
 
Real oph::user_epsilon = 1.0e-8
 
Real oph::intersection_epsilon = 1e-6
 
Real oph::sqrt_epsilon = 1.490116119385000000e-8
 
Real oph::unset_value = -1.23432101234321e+308
 
Real oph::zero_tolerance = 1.0e-12
 
Real oph::zero_epsilon = 1.0e-12
 
Real oph::angle_tolerance = M_PI/180.0
 
Real oph::save_zero_epsilon = 1.0e-12