zig/std/special/compiler_rt/fixunstfdi.zig
Andrew Kelley 6a98bf3dba compiler_rt implementations for __fixuns* functions
* add u128 and i128 integer types
 * add f128 floating point type
 * implement big integer multiplication (See #405)
2017-08-16 19:07:35 -04:00

10 lines
196 B
Zig

const fixuint = @import("fixuint.zig").fixuint;
export fn __fixunstfdi(a: f128) -> u64 {
return fixuint(f128, u64, a);
}
test "import fixunstfdi" {
_ = @import("fixunstfdi_test.zig");
}