diff options
Diffstat (limited to 'lib/std/special/compiler_rt/fixunstfti.zig')
| -rw-r--r-- | lib/std/special/compiler_rt/fixunstfti.zig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/std/special/compiler_rt/fixunstfti.zig b/lib/std/special/compiler_rt/fixunstfti.zig new file mode 100644 index 0000000000..cd6178164a --- /dev/null +++ b/lib/std/special/compiler_rt/fixunstfti.zig @@ -0,0 +1,11 @@ +const fixuint = @import("fixuint.zig").fixuint; +const builtin = @import("builtin"); + +pub extern fn __fixunstfti(a: f128) u128 { + @setRuntimeSafety(builtin.is_test); + return fixuint(f128, u128, a); +} + +test "import fixunstfti" { + _ = @import("fixunstfti_test.zig"); +} |
