is_nan

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Finds whether a value is not a number bool is_nan ( float $val ) Checks whether val is 'not a number', like the result of acos(1.01). Parameters: val The value to check Returns: Returns TRUE if val is 'not a number', else FALSE. Examples: is_nan() exa

is_infinite

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Finds whether a value is infinite bool is_infinite ( float $val ) Returns TRUE if val is infinite (positive or negative), like the result of log(0) or any value too big to fit into a float on this platform. Parameters: val The value to check Returns: TRUE if val is infinite, else FALSE.

is_finite

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Finds whether a value is a legal finite number bool is_finite ( float $val ) Checks whether val is a legal finite on this platform. Parameters: val The value to check Returns: TRUE if val is a legal finite number within the allowed range for a PHP float on this platform, else FALSE.

intdiv

(PHP 7) Integer division int intdiv ( int $dividend, int $divisor ) Returns the integer quotient of the division of dividend by divisor. Parameters: dividend Number to be divided. divisor Number which divides the dividend. Returns: The integer quotient of the division of dividend by divisor.

hypot

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Calculate the length of the hypotenuse of a right-angle triangle float hypot ( float $x, float $y ) hypot() returns the length of the hypotenuse of a right-angle triangle with sides of length x and y, or the distance of the point (x, y) from the origin. This is equivalent to sqrt(x*x + y*y). Parameters: x Length of first side

hexdec

(PHP 4, PHP 5, PHP 7) Hexadecimal to decimal number hexdec ( string $hex_string ) Returns the decimal equivalent of the hexadecimal number represented by the hex_string argument. hexdec() converts a hexadecimal string to a decimal number. hexdec() will ignore any non-hexadecimal characters it encounters. Parameters: hex_string The hexadecimal string to convert

getrandmax

(PHP 4, PHP 5, PHP 7) Show largest possible random value int getrandmax ( void ) Returns the maximum value that can be returned by a call to rand(). Returns: The largest possible random value returned by rand() See also: rand() - srand() - mt_getrandmax() -

fmod

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Returns the floating point remainder (modulo) of the division of the arguments float fmod ( float $x, float $y ) Returns the floating point remainder of dividing the dividend (x) by the divisor (y). The remainder (r) is defined as: x = i * y + r, for some integer i. If y is non-zero, r has the same sign as x and a magnitude less than the magnitude of y. Parameters:

floor

(PHP 4, PHP 5, PHP 7) Round fractions down mixed floor ( float $value ) Returns the next lowest integer value (as float) by rounding down value if necessary. Parameters: value The numeric value to round Returns: value rounded to the next lowest integer. The return value of floor() is still of type float because the value range of float is usually

expm1

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Returns exp(number) - 1, computed in a way that is accurate even when the value of number is close to zero float expm1 ( float $arg ) expm1() returns the equivalent to 'exp(arg) - 1' computed in a way that is accurate even if the value of arg is near zero, a case where 'exp (arg) - 1' would be inaccurate due to subtraction of two numbers that are nearly equal. Parameters: