zig/std/special/compiler_rt/fixunstfti.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

11 lines
192 B
Zig

const fixuint = @import("fixuint.zig").fixuint;
export fn __fixunstfti(a: f128) -> u128 {
return fixuint(f128, u128, a);
}
test "fixunstfti" {
_ = @import("fixunstfti_test.zig");
}