mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Split sig into two separate functions
This commit is contained in:
parent
ff2c3d7945
commit
ce8f947522
1 changed files with 5 additions and 1 deletions
|
@ -25,5 +25,9 @@ pub fn asin(num: f64) callconv(.C) f64 {
|
||||||
/// TODO: Obviously, this should not be an alias for arcsin(x);
|
/// TODO: Obviously, this should not be an alias for arcsin(x);
|
||||||
/// fix me!
|
/// fix me!
|
||||||
pub fn bytesToU16C(num: f64) callconv(.C) f64 {
|
pub fn bytesToU16C(num: f64) callconv(.C) f64 {
|
||||||
return @call(.{ .modifier = always_inline }, math.asin, .{num});
|
return @call(.{ .modifier = always_inline }, bytesToU16, .{num});
|
||||||
|
}
|
||||||
|
|
||||||
|
fn bytesToU16(num: f64) f64 {
|
||||||
|
return math.asin(num);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue