0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

@floatToInt now has safety-checked undefined behavior

when the integer part does not fit in the destination integer type

 * Also fix incorrect safety triggered for integer casting an
   `i32` to a `u7`. closes #1138
 * adds compiler-rt function: `__floatuntidf`
This commit is contained in:
Andrew Kelley 2018-06-19 16:06:10 -04:00
commit c7804277bf
12 changed files with 291 additions and 9 deletions