diff options
Diffstat (limited to 'v_windows/v/vlib/math/abs.c.v')
-rw-r--r-- | v_windows/v/vlib/math/abs.c.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/v_windows/v/vlib/math/abs.c.v b/v_windows/v/vlib/math/abs.c.v new file mode 100644 index 0000000..983ddcb --- /dev/null +++ b/v_windows/v/vlib/math/abs.c.v @@ -0,0 +1,8 @@ +module math + +fn C.fabs(x f64) f64 + +[inline] +pub fn abs(a f64) f64 { + return C.fabs(a) +} |