aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread/Condition.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-06-14 14:32:11 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2025-06-15 14:15:18 -0400
commit6b41beb370ce62b4381396e0543e6eb7f70b18cf (patch)
tree62ab8274799668635dc2f2fe236f081aea731eef /lib/std/Thread/Condition.zig
parent13392ad33f25649159048757d54fd6d8cf6d1887 (diff)
downloadzig-6b41beb370ce62b4381396e0543e6eb7f70b18cf.tar.gz
zig-6b41beb370ce62b4381396e0543e6eb7f70b18cf.zip
big.int: implement float conversions
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.
Diffstat (limited to 'lib/std/Thread/Condition.zig')
0 files changed, 0 insertions, 0 deletions