src/IntMath.php
/**
     * Returns a string that identifies the specified value.
     *
     * @param mixed $value The value to identify.
     *
     * @return string A string that identifies the specified value.
     */
Returns a string that identifies the specified value.
@param mixed $value The value to identify.

@return string A string that identifies the specified value.
Returns a string that identifies the specified value . @param mixed $value The value to identify . @return string A string that identifies the specified value .
private static function identify($value)
    {
        if (!\is_numeric($value) || !\is_float($value)) {
            return \gettype($value);
        }
        if (\is_infinite($value)) {
            return $value < 0 ? '-INF' : 'INF';
        }
        if (\is_nan($value)) {
            return 'NAN';
        }
        return 'float';
    }
private static function identify ( $ value ) { if ( ! \ is_numeric ( $ value ) || ! \ is_float ( $ value ) ) { return \ gettype ( $ value ) ; } if ( \ is_infinite ( $ value ) ) { return $ value < 0 ? '-INF' : 'INF' ; } if ( \ is_nan ( $ value ) ) { return 'NAN' ; } return 'float' ; }
Returns a string that identifies the specified value.
Returns a string that identifies the specified value .