mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Fix zig fmt error.
This commit is contained in:
parent
6feac21b9b
commit
b6ad04b0f1
1 changed files with 0 additions and 1 deletions
|
@ -27,7 +27,6 @@ pub const RocDec = extern struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn fromF64(num: f64) ?RocDec {
|
pub fn fromF64(num: f64) ?RocDec {
|
||||||
|
|
||||||
var result: f64 = num * comptime @intToFloat(f64, one_point_zero_i128);
|
var result: f64 = num * comptime @intToFloat(f64, one_point_zero_i128);
|
||||||
|
|
||||||
if (result > comptime @intToFloat(f64, math.maxInt(i128))) {
|
if (result > comptime @intToFloat(f64, math.maxInt(i128))) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue