Add arcus functions
parent
601cc4a012
commit
7e997c2e44
16
math/math.v
16
math/math.v
|
@ -15,6 +15,22 @@ fn abs(a f64) f64 {
|
|||
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 {
|
||||
return C.ceil(a)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue