public static function exponentFits($exponent)
    {
        // Determine if the exponent fits
        $max = floor((pow(2, static::getNumExponentBits()) - 1) / 2);
        $min = (-1 * $max) + 1;

        return (($exponent >= $min) && ($exponent <= $max));
    }
public static function exponentFits($exponent)
    {
        // Determine if the exponent fits
        $max = floor((pow(2, static::getNumExponentBits()) - 1) / 2);
        $min = (-1 * $max) + 1;

        return (($exponent >= $min) && ($exponent <= $max));
    }
public static function exponentFits ( $ exponent ) { // Determine if the exponent fits $ max = floor ( ( pow ( 2 , static :: getNumExponentBits ( ) ) - 1 ) / 2 ) ; $ min = ( - 1 * $ max ) + 1 ; return ( ( $ exponent >= $ min ) && ( $ exponent <= $ max ) ) ; }
Determines if the exponent fits into this size of float.

@param $exponent int The exponent to check.
@return bool True if it fits, false otherwise.
Determines if the exponent fits into this size of float .