
We are considering a MATLAB Enhancement Request to support options for round(x) when x is exactly halfway between two integers.
Contents
Classic roundroundoffflintsroundtest roundcitiesIEEE 754Which?Classic roundThe Classic MATLAB calculator was written in Fortran forty years ago, before IEEE 754 and before MathWorks. It had only 71 functions and it was not easy to add more. But one of those functions was ROUND. The help entry had only one sentence.
ROUND ROUND(X) rounds the elements of X to the nearest
...
read more >>
More...