Added fmod for modulus of two floats

pull/1049/head
Kriyszig 2019-06-24 14:20:45 +05:30 committed by Alex Medvednikov
parent 86b71bf2ce
commit 1a41acdc5d
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ fn floor(a f64) f64 {
return C.floor(a) return C.floor(a)
} }
fn fmod(a, b f64) f64 {
return C.fmod(a, b);
}
fn log(a f64) f64 { fn log(a f64) f64 {
return C.log(a) return C.log(a)
} }