Fix typo in definition of fract
Change round intrinsics to round-to-even on ties
Add unit test for rounding functions

Tests scalar and vector functions for float and double arguments for a range
of values that are easy to get wrong in rounding algorithms.