aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler_rt/floatundihf.zig
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@getgoogleoff.me>2023-06-15 13:14:16 +0600
committerAndrew Kelley <andrew@ziglang.org>2023-06-19 12:34:42 -0700
commit50339f595aa6ec96760b1cd9f8d0e0bfc3f167fc (patch)
tree9e2b95d8e111e905e00511962dfd32c8e5bb3245 /lib/compiler_rt/floatundihf.zig
parenta6c8ee5231230947c928bbe1c6a39eb6e1bb9c5b (diff)
downloadzig-50339f595aa6ec96760b1cd9f8d0e0bfc3f167fc.tar.gz
zig-50339f595aa6ec96760b1cd9f8d0e0bfc3f167fc.zip
all: zig fmt and rename "@XToY" to "@YFromX"
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Diffstat (limited to 'lib/compiler_rt/floatundihf.zig')
-rw-r--r--lib/compiler_rt/floatundihf.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler_rt/floatundihf.zig b/lib/compiler_rt/floatundihf.zig
index e6c6a79d5e..1c534c9175 100644
--- a/lib/compiler_rt/floatundihf.zig
+++ b/lib/compiler_rt/floatundihf.zig
@@ -1,5 +1,5 @@
const common = @import("./common.zig");
-const intToFloat = @import("./int_to_float.zig").intToFloat;
+const floatFromInt = @import("./float_from_int.zig").floatFromInt;
pub const panic = common.panic;
@@ -8,5 +8,5 @@ comptime {
}
fn __floatundihf(a: u64) callconv(.C) f16 {
- return intToFloat(f16, a);
+ return floatFromInt(f16, a);
}