mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
9 lines
193 B
V
9 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)
|
|
}
|