Pointed out in MaterialX discussions, our spec was not clear what round() should do in cases where the input value is exactly half way between two integers. Our design (and implementation) uses "round away from zero" policy for that case, matching C/C++ standard round(). But we were not clear about it in the docs.
Pointed out in MaterialX discussions, our spec was not clear what round() should do in cases where the input value is exactly half way between two integers. Our design (and implementation) uses "round away from zero" policy for that case, matching C/C++ standard round(). But we were not clear about it in the docs.