diff options
Diffstat (limited to 'mathfuncs_rcp.h')
-rw-r--r-- | mathfuncs_rcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mathfuncs_rcp.h b/mathfuncs_rcp.h index 99c516c..a7d7ba3 100644 --- a/mathfuncs_rcp.h +++ b/mathfuncs_rcp.h @@ -47,7 +47,7 @@ namespace vecmathlib { template<typename realvec_t> realvec_t mathfuncs<realvec_t>::vml_remainder(realvec_t x, realvec_t y) { - return x - round(x / y) * y; + return x - rint(x / y) * y; } template<typename realvec_t> |