History of Idiom 81 > diff from v53 to v54
Edit summary for version 54 by programming-idioms.org:
[Rust] Avoid link shortener if possible
[Rust] Avoid link shortener if possible
↷
Version 53
2019-12-28, 21:13:16
Version 54
2020-03-20, 17:51:21
Idiom #81 Round floating point number to integer
Declare integer y and initialize it with the rounded value of floating point number x .
Ties (when the fractional part of x is exactly .5) must be rounded up (to positive infinity).
Idiom #81 Round floating point number to integer
Declare integer y and initialize it with the rounded value of floating point number x .
Ties (when the fractional part of x is exactly .5) must be rounded up (to positive infinity).