Rounding strategy of the 'round' function

2021-04-07 Thread Rudolph Froger
Hi, The 'round' mathematical function documentation doesn't specify its rounding strategy. If this would be documented then users can rely on its rounding behavior. For double precision the rounding probably depends on your platform. For numeric the function seems to round to nearest with tie

Rounding strategy of round function

2021-03-26 Thread Rudolph Froger
The 'round' mathematical function doesn't document which rounding strategy it uses. If this would be documented then users can rely on its rounding behavior. For double precision the rounding probably depends on your platform. For numeric is the function seems to round to nearest with ties (a 5