contrib/oul/ouml/inlines.h
Go to the documentation of this file.
00001 #ifndef OTAGO_INLINES_H__
00002 #define OTAGO_INLINES_H__
00003 
00004 #include <vcl_cmath.h>
00005 
00006 inline bool epsilon_equals(double d1, double d2, double epsilon=1.0e-6)
00007 {
00008   return  vcl_fabs(d1-d2)<epsilon;
00009 }
00010 
00011 #endif // OTAGO_INLINES_H__