mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
These conversion routines accept a `round` argument to control how the result is rounded and return whether the result is exact. Most callers wanted this functionality and had hacks around it being missing. Also delete `std.math.big.rational` because it was only being used for float conversion, and using rationals for that is a lot more complex than necessary. It also required an allocator, whereas the new integer routines only need to be passed enough memory to store the result. |
||
|---|---|---|
| .. | ||
| aro | ||
| aro_translate_c | ||
| reduce | ||
| resinator | ||
| aro_translate_c.zig | ||
| build_runner.zig | ||
| libc.zig | ||
| objcopy.zig | ||
| reduce.zig | ||
| std-docs.zig | ||
| test_runner.zig | ||