mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
formatting & catch zig overflow error
This commit is contained in:
parent
0cc6e44d35
commit
4152519bfb
7 changed files with 19 additions and 26 deletions
|
@ -16,7 +16,7 @@ pub fn powInt(base: i64, exp: i64) callconv(.C) i64 {
|
|||
}
|
||||
|
||||
pub fn divCeil(numerator: i64, denominator: i64) callconv(.C) i64 {
|
||||
return @call(.{ .modifier = always_inline }, math.divCeil, .{ i64, numerator, denominator });
|
||||
return @call(.{ .modifier = always_inline }, math.divCeil, .{ i64, numerator, denominator }) catch unreachable;
|
||||
}
|
||||
|
||||
pub fn acos(num: f64) callconv(.C) f64 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue