1
#ifndef __APROX_EQUAL_H__
2
#define __APROX_EQUAL_H__
6
inline bool approx_equal(double const a, double const b)
9
|| ( fabs( a - b ) < 1e-2 )
10
|| ( fabs( a / b - 1.0 ) < 1e-2 ) );
14
#endif /* !__APROX_EQUAL_H__ */
19
c-file-style:"stroustrup"
20
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
25
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :