src/test/test_SampleDegree.c
bool is_close (double a, double b)
{
    double abs_diff = fabs(a - b) ;
    return abs_diff < 1e-6 ;
}
//------------------------------------------------------------------------------
// is_close: check whether two floats are close
//------------------------------------------------------------------------------
check whether two floats are close
check whether two floats are close
bool is_close (double a, double b)
{
    double abs_diff = fabs(a - b) ;
    return abs_diff < 1e-6 ;
}
bool is_close ( double a , double b ) { double abs_diff = fabs ( a - b ) ; return abs_diff < 1e-6 ; }
is_close: check whether two floats are close
is_close : check whether two floats are close