Home >Backend Development >PHP Tutorial >Recommended articles about php is_nan() function
The current number of APIs is 49. Commonly used calculations (11) min - find the minimum value max — find the maximum value abs — absolute value round — Round floating point numbers ceil — Returns the smallest integer greater than or equal to the specified expression, ceiling function floor —Returns the largest integer less than or equal to the specified expression, the floor function intdiv — Rounds the result of division and returns the quotient fmod — Returns the floating-point remainder of division, returns the remainder is_nan — Determine whether it is a legal value hypot — Calculate the length of the hypotenuse of a right triangle sqrt — square root angle, radians (3) pi — get pi value deg2rad — Convert angles to radians rad2deg — Convert radians to corresponding degrees. Base conversion (7) base_convert — Convert numbers between any bases. decbin — Convert decimal to binary bindec — convert binary to decimal decoct — Decimal conversion to
1. Recommended articles about php hypot() function
Introduction: The current number of APIs is 49. Commonly used calculations (11) min - Find the minimum value max - Find the maximum value abs - Absolute value round - Round floating point numbers ceil - Return greater than or equal to the specified expression The minimum integer of the expression, the ceiling function floor — returns the maximum integer less than or equal to the specified expression, the floor function intdiv — rounds the division result, returns the quotient fmod — returns the floating point remainder of the division, returns the remainder is_nan — determines whether it is a legal value h...
2. iphone math Math function --> is_nan()
Introduction: iphone math:iphone math Math function --> is_nan(): is_nan() Meaning: Determine whether it is a legal number Description: bool is_nan(float $val) Parameters: $val is the value to be judged Return: If val is not a number, return TRUE , otherwise return FALSE Note: NAN represents an undefined or inexpressible value in floating point operations
##3. Summary of PHP Math API methods
Introduction:: Summary of PHP Math API methods: Currently the number of APIs is 49. Commonly used calculations (11) min - find the minimum value max — find the maximum value abs — absolute value round — round floating-point numbers ceil — Returns the smallest integer greater than or equal to the specified expression, ceiling function floor — returns the largest integer less than or equal to the specified expression. The floor function intdiv — rounds the division result and returns the quotient. fmod — Returns the floating point remainder of division, returns the remainder is_nan — Determines whether it is a legal value hypot —
【Related Q&A recommendations】:
javascript - The Abstract Relational Comparison Algorithm
The above is the detailed content of Recommended articles about php is_nan() function. For more information, please follow other related articles on the PHP Chinese website!