1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

Added fmod for modulus of two floats

This commit is contained in:
Kriyszig 2019-06-24 14:20:45 +05:30 committed by Alex Medvednikov
parent 86b71bf2ce
commit 1a41acdc5d

View File

@ -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)
}