This adds handling and tests for a number of floating point math routines.
looks very reasonable to me.