> 63) & 1) === 1 ? -1 : 1; } elseif ($p !== 0.0) { return $p < 0.0 ? -1 : 1; } else { // Comparison with 0 does not work for -0.0. return fdiv(1, $p) < 0.0 ? -1 : 1; } } }