zig
zig copied to clipboard
langref: clarify functionality of the round builtin
Questions regarding the behavior of this have shown up in the IRC channel more than once, and I think the current wording is misleading. I also added a test, which I think demonstrates the described behavior fairly unambiguously.
Please also update the identical comment for the std.math.round() function!
thanks for the note, will do when I get a chance.