fpu/softfloat: check for Inf / x or 0 / x before /0