zig icon indicating copy to clipboard operation
zig copied to clipboard

langref: clarify functionality of the round builtin

Open torque opened this issue 3 months ago • 2 comments

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.

torque avatar Mar 31 '24 23:03 torque

Please also update the identical comment for the std.math.round() function!

balvaldyr avatar Apr 30 '24 07:04 balvaldyr

thanks for the note, will do when I get a chance.

torque avatar Apr 30 '24 08:04 torque