Add arcus functions

pull/524/head
ofunc 2019-06-24 22:05:30 +08:00 committed by Alex Medvednikov
parent 601cc4a012
commit 7e997c2e44
1 changed files with 16 additions and 0 deletions

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)
} }