mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
10 lines
193 B
V
10 lines
193 B
V
module math
|
|
|
|
fn C.fmod(x f64, y f64) f64
|
|
|
|
// fmod returns the floating-point remainder of number / denom (rounded towards zero):
|
|
[inline]
|
|
pub fn fmod(x f64, y f64) f64 {
|
|
return C.fmod(x, y)
|
|
}
|