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

Add arcus functions

This commit is contained in:
ofunc 2019-06-24 22:05:30 +08:00 committed by Alex Medvednikov
parent 601cc4a012
commit 7e997c2e44

View File

@ -15,6 +15,22 @@ fn abs(a f64) f64 {
return a return a
} }
fn acos(a f64) f64 {
return C.acos(a)
}
fn asin(a f64) f64 {
return C.asin(a)
}
fn atan(a f64) f64 {
return C.atan(a)
}
fn atan2(a, b f64) f64 {
return C.atan2(a, b)
}
fn ceil(a f64) f64 { fn ceil(a f64) f64 {
return C.ceil(a) return C.ceil(a)
} }