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:
parent
86b71bf2ce
commit
1a41acdc5d
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user