mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
feat(builtins): Num.asin : Float -> Float
This commit is contained in:
parent
4da2d7f101
commit
bd696e1f6f
9 changed files with 45 additions and 3 deletions
|
@ -26,6 +26,11 @@ fn acos(num: f64) callconv(.C) f64 {
|
|||
return math.acos(num);
|
||||
}
|
||||
|
||||
comptime { @export(asin, .{ .name = math_namespace ++ ".asin", .linkage = .Strong }); }
|
||||
fn asin(num: f64) callconv(.C) f64 {
|
||||
return math.asin(num);
|
||||
}
|
||||
|
||||
|
||||
// Str.split
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue