Use FloatMath - fixes recent nightly change #9

Fixes #9.