diff --git a/math/math.v b/math/math.v index 55e380db5f..3ef57f89d1 100644 --- a/math/math.v +++ b/math/math.v @@ -35,6 +35,10 @@ fn floor(a f64) f64 { return C.floor(a) } +fn fmod(a, b f64) f64 { + return C.fmod(a, b); +} + fn log(a f64) f64 { return C.log(a) }