Added fmod for modulus of two floats
parent
86b71bf2ce
commit
1a41acdc5d
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue