math: implement /mod on floats.