float math check