History of Idiom 81 > diff from v47 to v48
Edit summary for version 48 by programming-idioms.org:
[Haskell] Revert bug (think x=0.3)
[Haskell] Revert bug (think x=0.3)
↷
Version 47
2018-04-17, 23:42:03
Version 48
2018-04-23, 23:18:50
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).
Comments bubble
Comments bubble