Function rcppsw::math::is_multiple_of

Function Documentation

static inline bool rcppsw::math::is_multiple_of(double x, double y, double tol = kDOUBLE_EPSILON)

Determine if x is a multiple of y within tol tolerance.