math.ch
Declarations
Parameters
- arg - floating-point value @return If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fabs
Returns
If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fabs
See Also
- https:en.cppreference.com/w/c/numeric/math/fabs
Parameters
- arg - floating-point value @return If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fabs
Returns
If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fabs
See Also
- https:en.cppreference.com/w/c/numeric/math/fabs
Parameters
- arg - floating-point value @return If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fabs
Returns
If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fabs
See Also
- https:en.cppreference.com/w/c/numeric/math/fabs
Parameters
- arg - floating-point value @return If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fabs
Returns
If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fabs
See Also
- https:en.cppreference.com/w/c/numeric/math/fabs
Parameters
- arg - floating-point value @return If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fabs
Returns
If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fabs
See Also
- https:en.cppreference.com/w/c/numeric/math/fabs
Parameters
- x, y - floating-point values @return If successful, returns the floating-point remainder of the division x / y as defined above. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fmod
Returns
If successful, returns the floating-point remainder of the division x / y as defined above. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fmod
See Also
- https:en.cppreference.com/w/c/numeric/math/fmod
Parameters
- x, y - floating-point values @return If successful, returns the floating-point remainder of the division x / y as defined above. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fmod
Returns
If successful, returns the floating-point remainder of the division x / y as defined above. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fmod
See Also
- https:en.cppreference.com/w/c/numeric/math/fmod
Parameters
- x, y - floating-point values @return If successful, returns the floating-point remainder of the division x / y as defined above. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fmod
Returns
If successful, returns the floating-point remainder of the division x / y as defined above. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fmod
See Also
- https:en.cppreference.com/w/c/numeric/math/fmod
Parameters
- x, y - floating-point values @return If successful, returns the IEEE floating-point remainder of the division x/y as defined above. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remainder
Returns
If successful, returns the IEEE floating-point remainder of the division x/y as defined above. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remainder
See Also
- https:en.cppreference.com/w/c/numeric/math/remainder
Parameters
- x, y - floating-point values @return If successful, returns the IEEE floating-point remainder of the division x/y as defined above. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remainder
Returns
If successful, returns the IEEE floating-point remainder of the division x/y as defined above. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remainder
See Also
- https:en.cppreference.com/w/c/numeric/math/remainder
Parameters
- x, y - floating-point values @return If successful, returns the IEEE floating-point remainder of the division x/y as defined above. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remainder
Returns
If successful, returns the IEEE floating-point remainder of the division x/y as defined above. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remainder
See Also
- https:en.cppreference.com/w/c/numeric/math/remainder
Parameters
- x, y - floating-point values @param quo - pointer to an integer value to store the sign and some bits of x/y @return If successful, returns the floating-point remainder of the division x/y as defined in remainder, and stores, in *quo, the sign and at least three of the least significant bits of x/y (formally, stores a value whose sign is the sign of x/y and whose magnitude is congruent modulo 2n to the magnitude of the integral quotient of x/y, where n is an implementation-defined integer greater than or equal to 3). If y is zero, the value stored in *quo is unspecified. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned if subnormals are supported. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remquo
- quo - pointer to an integer value to store the sign and some bits of x/y @return If successful, returns the floating-point remainder of the division x/y as defined in remainder, and stores, in *quo, the sign and at least three of the least significant bits of x/y (formally, stores a value whose sign is the sign of x/y and whose magnitude is congruent modulo 2n to the magnitude of the integral quotient of x/y, where n is an implementation-defined integer greater than or equal to 3). If y is zero, the value stored in *quo is unspecified. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned if subnormals are supported. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remquo
Returns
If successful, returns the floating-point remainder of the division x/y as defined in remainder, and stores, in *quo, the sign and at least three of the least significant bits of x/y (formally, stores a value whose sign is the sign of x/y and whose magnitude is congruent modulo 2n to the magnitude of the integral quotient of x/y, where n is an implementation-defined integer greater than or equal to 3). If y is zero, the value stored in *quo is unspecified. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned if subnormals are supported. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remquo
See Also
- https:en.cppreference.com/w/c/numeric/math/remquo
Parameters
- x, y - floating-point values @param quo - pointer to an integer value to store the sign and some bits of x/y @return If successful, returns the floating-point remainder of the division x/y as defined in remainder, and stores, in *quo, the sign and at least three of the least significant bits of x/y (formally, stores a value whose sign is the sign of x/y and whose magnitude is congruent modulo 2n to the magnitude of the integral quotient of x/y, where n is an implementation-defined integer greater than or equal to 3). If y is zero, the value stored in *quo is unspecified. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned if subnormals are supported. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remquo
- quo - pointer to an integer value to store the sign and some bits of x/y @return If successful, returns the floating-point remainder of the division x/y as defined in remainder, and stores, in *quo, the sign and at least three of the least significant bits of x/y (formally, stores a value whose sign is the sign of x/y and whose magnitude is congruent modulo 2n to the magnitude of the integral quotient of x/y, where n is an implementation-defined integer greater than or equal to 3). If y is zero, the value stored in *quo is unspecified. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned if subnormals are supported. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remquo
Returns
If successful, returns the floating-point remainder of the division x/y as defined in remainder, and stores, in *quo, the sign and at least three of the least significant bits of x/y (formally, stores a value whose sign is the sign of x/y and whose magnitude is congruent modulo 2n to the magnitude of the integral quotient of x/y, where n is an implementation-defined integer greater than or equal to 3). If y is zero, the value stored in *quo is unspecified. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned if subnormals are supported. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remquo
See Also
- https:en.cppreference.com/w/c/numeric/math/remquo
Parameters
- x, y - floating-point values @param quo - pointer to an integer value to store the sign and some bits of x/y @return If successful, returns the floating-point remainder of the division x/y as defined in remainder, and stores, in *quo, the sign and at least three of the least significant bits of x/y (formally, stores a value whose sign is the sign of x/y and whose magnitude is congruent modulo 2n to the magnitude of the integral quotient of x/y, where n is an implementation-defined integer greater than or equal to 3). If y is zero, the value stored in *quo is unspecified. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned if subnormals are supported. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remquo
- quo - pointer to an integer value to store the sign and some bits of x/y @return If successful, returns the floating-point remainder of the division x/y as defined in remainder, and stores, in *quo, the sign and at least three of the least significant bits of x/y (formally, stores a value whose sign is the sign of x/y and whose magnitude is congruent modulo 2n to the magnitude of the integral quotient of x/y, where n is an implementation-defined integer greater than or equal to 3). If y is zero, the value stored in *quo is unspecified. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned if subnormals are supported. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remquo
Returns
If successful, returns the floating-point remainder of the division x/y as defined in remainder, and stores, in *quo, the sign and at least three of the least significant bits of x/y (formally, stores a value whose sign is the sign of x/y and whose magnitude is congruent modulo 2n to the magnitude of the integral quotient of x/y, where n is an implementation-defined integer greater than or equal to 3). If y is zero, the value stored in *quo is unspecified. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result is returned if subnormals are supported. If y is zero, but the domain error does not occur, zero is returned. @see https:en.cppreference.com/w/c/numeric/math/remquo
See Also
- https:en.cppreference.com/w/c/numeric/math/remquo
Parameters
- x, y, z - floating-point values @return If successful, returns the value of (x * y) + z as if calculated to infinite precision and rounded once to fit the result type (or, alternatively, calculated as a single ternary floating-point operation). If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fma
Returns
If successful, returns the value of (x * y) + z as if calculated to infinite precision and rounded once to fit the result type (or, alternatively, calculated as a single ternary floating-point operation). If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fma
See Also
- https:en.cppreference.com/w/c/numeric/math/fma
Parameters
- x, y, z - floating-point values @return If successful, returns the value of (x * y) + z as if calculated to infinite precision and rounded once to fit the result type (or, alternatively, calculated as a single ternary floating-point operation). If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fma
Returns
If successful, returns the value of (x * y) + z as if calculated to infinite precision and rounded once to fit the result type (or, alternatively, calculated as a single ternary floating-point operation). If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fma
See Also
- https:en.cppreference.com/w/c/numeric/math/fma
Parameters
- x, y, z - floating-point values @return If successful, returns the value of (x * y) + z as if calculated to infinite precision and rounded once to fit the result type (or, alternatively, calculated as a single ternary floating-point operation). If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fma
Returns
If successful, returns the value of (x * y) + z as if calculated to infinite precision and rounded once to fit the result type (or, alternatively, calculated as a single ternary floating-point operation). If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fma
See Also
- https:en.cppreference.com/w/c/numeric/math/fma
Parameters
- x, y - floating-point values @return If successful, returns the larger of two floating-point values. The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fmax
Returns
If successful, returns the larger of two floating-point values. The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fmax
See Also
- https:en.cppreference.com/w/c/numeric/math/fmax
Parameters
- x, y - floating-point values @return If successful, returns the larger of two floating-point values. The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fmax
Returns
If successful, returns the larger of two floating-point values. The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fmax
See Also
- https:en.cppreference.com/w/c/numeric/math/fmax
Parameters
- x, y - floating-point values @return If successful, returns the larger of two floating-point values. The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fmax
Returns
If successful, returns the larger of two floating-point values. The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fmax
See Also
- https:en.cppreference.com/w/c/numeric/math/fmax
Parameters
- x, y - floating-point values @return If successful, returns the smaller of two floating-point values. The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fmin
Returns
If successful, returns the smaller of two floating-point values. The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fmin
See Also
- https:en.cppreference.com/w/c/numeric/math/fmin
Parameters
- x, y - floating-point values @return If successful, returns the smaller of two floating-point values. The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fmin
Returns
If successful, returns the smaller of two floating-point values. The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fmin
See Also
- https:en.cppreference.com/w/c/numeric/math/fmin
Parameters
- x, y - floating-point values @return If successful, returns the smaller of two floating-point values. The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fmin
Returns
If successful, returns the smaller of two floating-point values. The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fmin
See Also
- https:en.cppreference.com/w/c/numeric/math/fmin
Parameters
- x, y - floating-point value @return If successful, returns the positive difference between x and y. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fdim
Returns
If successful, returns the positive difference between x and y. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fdim
See Also
- https:en.cppreference.com/w/c/numeric/math/fdim
Parameters
- x, y - floating-point value @return If successful, returns the positive difference between x and y. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fdim
Returns
If successful, returns the positive difference between x and y. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fdim
See Also
- https:en.cppreference.com/w/c/numeric/math/fdim
Parameters
- x, y - floating-point value @return If successful, returns the positive difference between x and y. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fdim
Returns
If successful, returns the positive difference between x and y. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/fdim
See Also
- https:en.cppreference.com/w/c/numeric/math/fdim
Parameters
- arg - narrow character string identifying the contents of a NaN @return The quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs. If the implementation supports IEEE floating-point arithmetic (IEC 60559), it also supports quiet NaNs. @see https:en.cppreference.com/w/c/numeric/math/nan
Returns
The quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs. If the implementation supports IEEE floating-point arithmetic (IEC 60559), it also supports quiet NaNs. @see https:en.cppreference.com/w/c/numeric/math/nan
See Also
- https:en.cppreference.com/w/c/numeric/math/nan
Parameters
- arg - narrow character string identifying the contents of a NaN @return The quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs. If the implementation supports IEEE floating-point arithmetic (IEC 60559), it also supports quiet NaNs. @see https:en.cppreference.com/w/c/numeric/math/nan
Returns
The quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs. If the implementation supports IEEE floating-point arithmetic (IEC 60559), it also supports quiet NaNs. @see https:en.cppreference.com/w/c/numeric/math/nan
See Also
- https:en.cppreference.com/w/c/numeric/math/nan
Parameters
- arg - narrow character string identifying the contents of a NaN @return The quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs. If the implementation supports IEEE floating-point arithmetic (IEC 60559), it also supports quiet NaNs. @see https:en.cppreference.com/w/c/numeric/math/nan
Returns
The quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs. If the implementation supports IEEE floating-point arithmetic (IEC 60559), it also supports quiet NaNs. @see https:en.cppreference.com/w/c/numeric/math/nan
See Also
- https:en.cppreference.com/w/c/numeric/math/nan
Parameters
- arg - narrow character string identifying the contents of a NaN @return The quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs. If the implementation supports IEEE floating-point arithmetic (IEC 60559), it also supports quiet NaNs. @see https:en.cppreference.com/w/c/numeric/math/nan
Returns
The quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs. If the implementation supports IEEE floating-point arithmetic (IEC 60559), it also supports quiet NaNs. @see https:en.cppreference.com/w/c/numeric/math/nan
See Also
- https:en.cppreference.com/w/c/numeric/math/nan
Parameters
- arg - narrow character string identifying the contents of a NaN @return The quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs. If the implementation supports IEEE floating-point arithmetic (IEC 60559), it also supports quiet NaNs. @see https:en.cppreference.com/w/c/numeric/math/nan
Returns
The quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs. If the implementation supports IEEE floating-point arithmetic (IEC 60559), it also supports quiet NaNs. @see https:en.cppreference.com/w/c/numeric/math/nan
See Also
- https:en.cppreference.com/w/c/numeric/math/nan
Parameters
- arg - narrow character string identifying the contents of a NaN @return The quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs. If the implementation supports IEEE floating-point arithmetic (IEC 60559), it also supports quiet NaNs. @see https:en.cppreference.com/w/c/numeric/math/nan
Returns
The quiet NaN value that corresponds to the identifying string arg or zero if the implementation does not support quiet NaNs. If the implementation supports IEEE floating-point arithmetic (IEC 60559), it also supports quiet NaNs. @see https:en.cppreference.com/w/c/numeric/math/nan
See Also
- https:en.cppreference.com/w/c/numeric/math/nan
Parameters
- arg - floating-point value @return If no errors occur, the base-e exponential of arg (earg) is returned. If a range error occurs due to overflow, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/exp
Returns
If no errors occur, the base-e exponential of arg (earg) is returned. If a range error occurs due to overflow, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/exp
See Also
- https:en.cppreference.com/w/c/numeric/math/exp
Parameters
- arg - floating-point value @return If no errors occur, the base-e exponential of arg (earg) is returned. If a range error occurs due to overflow, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/exp
Returns
If no errors occur, the base-e exponential of arg (earg) is returned. If a range error occurs due to overflow, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/exp
See Also
- https:en.cppreference.com/w/c/numeric/math/exp
Parameters
- arg - floating-point value @return If no errors occur, the base-e exponential of arg (earg) is returned. If a range error occurs due to overflow, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/exp
Returns
If no errors occur, the base-e exponential of arg (earg) is returned. If a range error occurs due to overflow, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/exp
See Also
- https:en.cppreference.com/w/c/numeric/math/exp
Parameters
- n - floating-point value @return If no errors occur, the base-2 exponential of n (2n) is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/exp2
Returns
If no errors occur, the base-2 exponential of n (2n) is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/exp2
See Also
- https:en.cppreference.com/w/c/numeric/math/exp2
Parameters
- n - floating-point value @return If no errors occur, the base-2 exponential of n (2n) is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/exp2
Returns
If no errors occur, the base-2 exponential of n (2n) is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/exp2
See Also
- https:en.cppreference.com/w/c/numeric/math/exp2
Parameters
- n - floating-point value @return If no errors occur, the base-2 exponential of n (2n) is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/exp2
Returns
If no errors occur, the base-2 exponential of n (2n) is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/exp2
See Also
- https:en.cppreference.com/w/c/numeric/math/exp2
Parameters
- arg - floating-point value @return If no errors occur earg -1 is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/expm1
Returns
If no errors occur earg -1 is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/expm1
See Also
- https:en.cppreference.com/w/c/numeric/math/expm1
Parameters
- arg - floating-point value @return If no errors occur earg -1 is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/expm1
Returns
If no errors occur earg -1 is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/expm1
See Also
- https:en.cppreference.com/w/c/numeric/math/expm1
Parameters
- arg - floating-point value @return If no errors occur earg -1 is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/expm1
Returns
If no errors occur earg -1 is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/expm1
See Also
- https:en.cppreference.com/w/c/numeric/math/expm1
Parameters
- arg - floating-point value @return If no errors occur, the natural (base-e) logarithm of arg (ln(arg) or loge(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log
Returns
If no errors occur, the natural (base-e) logarithm of arg (ln(arg) or loge(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log
See Also
- https:en.cppreference.com/w/c/numeric/math/log
Parameters
- arg - floating-point value @return If no errors occur, the natural (base-e) logarithm of arg (ln(arg) or loge(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log
Returns
If no errors occur, the natural (base-e) logarithm of arg (ln(arg) or loge(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log
See Also
- https:en.cppreference.com/w/c/numeric/math/log
Parameters
- arg - floating-point value @return If no errors occur, the natural (base-e) logarithm of arg (ln(arg) or loge(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log
Returns
If no errors occur, the natural (base-e) logarithm of arg (ln(arg) or loge(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log
See Also
- https:en.cppreference.com/w/c/numeric/math/log
Parameters
- floating-point value @return If no errors occur, the common (base-10) logarithm of arg (log10(arg) or lg(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log10
Returns
If no errors occur, the common (base-10) logarithm of arg (log10(arg) or lg(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log10
See Also
- https:en.cppreference.com/w/c/numeric/math/log10
Parameters
- floating-point value @return If no errors occur, the common (base-10) logarithm of arg (log10(arg) or lg(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log10
Returns
If no errors occur, the common (base-10) logarithm of arg (log10(arg) or lg(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log10
See Also
- https:en.cppreference.com/w/c/numeric/math/log10
Parameters
- floating-point value @return If no errors occur, the common (base-10) logarithm of arg (log10(arg) or lg(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log10
Returns
If no errors occur, the common (base-10) logarithm of arg (log10(arg) or lg(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log10
See Also
- https:en.cppreference.com/w/c/numeric/math/log10
Parameters
- arg - floating point value @return If no errors occur, the base-2 logarithm of arg (log2(arg) or lb(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log2
Returns
If no errors occur, the base-2 logarithm of arg (log2(arg) or lb(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log2
See Also
- https:en.cppreference.com/w/c/numeric/math/log2
Parameters
- arg - floating point value @return If no errors occur, the base-2 logarithm of arg (log2(arg) or lb(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log2
Returns
If no errors occur, the base-2 logarithm of arg (log2(arg) or lb(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log2
See Also
- https:en.cppreference.com/w/c/numeric/math/log2
Parameters
- arg - floating point value @return If no errors occur, the base-2 logarithm of arg (log2(arg) or lb(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log2
Returns
If no errors occur, the base-2 logarithm of arg (log2(arg) or lb(arg)) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/log2
See Also
- https:en.cppreference.com/w/c/numeric/math/log2
Parameters
- arg - floating-point value @return If no errors occur ln(1 + arg) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/log1p
Returns
If no errors occur ln(1 + arg) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/log1p
See Also
- https:en.cppreference.com/w/c/numeric/math/log1p
Parameters
- arg - floating-point value @return If no errors occur ln(1 + arg) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/log1p
Returns
If no errors occur ln(1 + arg) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/log1p
See Also
- https:en.cppreference.com/w/c/numeric/math/log1p
Parameters
- arg - floating-point value @return If no errors occur ln(1 + arg) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/log1p
Returns
If no errors occur ln(1 + arg) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/log1p
See Also
- https:en.cppreference.com/w/c/numeric/math/log1p
Parameters
- base - base as floating-point value @param exponent - exponent as floating-point value @return If no errors occur, base raised to the power of exponent (baseexponent) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error or a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/pow
- exponent - exponent as floating-point value @return If no errors occur, base raised to the power of exponent (baseexponent) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error or a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/pow
Returns
If no errors occur, base raised to the power of exponent (baseexponent) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error or a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/pow
See Also
- https:en.cppreference.com/w/c/numeric/math/pow
Parameters
- base - base as floating-point value @param exponent - exponent as floating-point value @return If no errors occur, base raised to the power of exponent (baseexponent) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error or a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/pow
- exponent - exponent as floating-point value @return If no errors occur, base raised to the power of exponent (baseexponent) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error or a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/pow
Returns
If no errors occur, base raised to the power of exponent (baseexponent) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error or a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/pow
See Also
- https:en.cppreference.com/w/c/numeric/math/pow
Parameters
- base - base as floating-point value @param exponent - exponent as floating-point value @return If no errors occur, base raised to the power of exponent (baseexponent) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error or a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/pow
- exponent - exponent as floating-point value @return If no errors occur, base raised to the power of exponent (baseexponent) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error or a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/pow
Returns
If no errors occur, base raised to the power of exponent (baseexponent) is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error or a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/pow
See Also
- https:en.cppreference.com/w/c/numeric/math/pow
Parameters
- arg - floating-point value @return If no errors occur, square root of arg (√arg), is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sqrt
Returns
If no errors occur, square root of arg (√arg), is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sqrt
See Also
- https:en.cppreference.com/w/c/numeric/math/sqrt
Parameters
- arg - floating-point value @return If no errors occur, square root of arg (√arg), is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sqrt
Returns
If no errors occur, square root of arg (√arg), is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sqrt
See Also
- https:en.cppreference.com/w/c/numeric/math/sqrt
Parameters
- arg - floating-point value @return If no errors occur, square root of arg (√arg), is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sqrt
Returns
If no errors occur, square root of arg (√arg), is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sqrt
See Also
- https:en.cppreference.com/w/c/numeric/math/sqrt
Parameters
- arg - floating-point value @return If no errors occur, the cube root of arg (3√arg), is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cbrt
Returns
If no errors occur, the cube root of arg (3√arg), is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cbrt
See Also
- https:en.cppreference.com/w/c/numeric/math/cbrt
Parameters
- arg - floating-point value @return If no errors occur, the cube root of arg (3√arg), is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cbrt
Returns
If no errors occur, the cube root of arg (3√arg), is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cbrt
See Also
- https:en.cppreference.com/w/c/numeric/math/cbrt
Parameters
- arg - floating-point value @return If no errors occur, the cube root of arg (3√arg), is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cbrt
Returns
If no errors occur, the cube root of arg (3√arg), is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cbrt
See Also
- https:en.cppreference.com/w/c/numeric/math/cbrt
Parameters
- x, y - floating-point value @return If no errors occur, the hypotenuse of a right-angled triangle,√x2+y2, is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/hypot
Returns
If no errors occur, the hypotenuse of a right-angled triangle,√x2+y2, is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/hypot
See Also
- https:en.cppreference.com/w/c/numeric/math/hypot
Parameters
- x, y - floating-point value @return If no errors occur, the hypotenuse of a right-angled triangle,√x2+y2, is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/hypot
Returns
If no errors occur, the hypotenuse of a right-angled triangle,√x2+y2, is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/hypot
See Also
- https:en.cppreference.com/w/c/numeric/math/hypot
Parameters
- x, y - floating-point value @return If no errors occur, the hypotenuse of a right-angled triangle,√x2+y2, is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/hypot
Returns
If no errors occur, the hypotenuse of a right-angled triangle,√x2+y2, is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/hypot
See Also
- https:en.cppreference.com/w/c/numeric/math/hypot
Parameters
- arg - floating-point value representing an angle in radians @return If no errors occur, the sine of arg (sin(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sin
Returns
If no errors occur, the sine of arg (sin(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sin
See Also
- https:en.cppreference.com/w/c/numeric/math/sin
Parameters
- arg - floating-point value representing an angle in radians @return If no errors occur, the sine of arg (sin(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sin
Returns
If no errors occur, the sine of arg (sin(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sin
See Also
- https:en.cppreference.com/w/c/numeric/math/sin
Parameters
- arg - floating-point value representing an angle in radians @return If no errors occur, the sine of arg (sin(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sin
Returns
If no errors occur, the sine of arg (sin(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sin
See Also
- https:en.cppreference.com/w/c/numeric/math/sin
Parameters
- arg - floating-point value representing an angle in radians @return If no errors occur, the sine of arg (sin(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sin
Returns
If no errors occur, the sine of arg (sin(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sin
See Also
- https:en.cppreference.com/w/c/numeric/math/sin
Parameters
- arg - floating-point value representing an angle in radians @return If no errors occur, the sine of arg (sin(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sin
Returns
If no errors occur, the sine of arg (sin(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sin
See Also
- https:en.cppreference.com/w/c/numeric/math/sin
Parameters
- arg - floating-point value representing an angle in radians @return If no errors occur, the sine of arg (sin(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sin
Returns
If no errors occur, the sine of arg (sin(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sin
See Also
- https:en.cppreference.com/w/c/numeric/math/sin
Parameters
- arg - floating-point value representing angle in radians @return If no errors occur, the cosine of arg (cos(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cos
Returns
If no errors occur, the cosine of arg (cos(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cos
See Also
- https:en.cppreference.com/w/c/numeric/math/cos
Parameters
- arg - floating-point value representing angle in radians @return If no errors occur, the cosine of arg (cos(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cos
Returns
If no errors occur, the cosine of arg (cos(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cos
See Also
- https:en.cppreference.com/w/c/numeric/math/cos
Parameters
- arg - floating-point value representing angle in radians @return If no errors occur, the cosine of arg (cos(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cos
Returns
If no errors occur, the cosine of arg (cos(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cos
See Also
- https:en.cppreference.com/w/c/numeric/math/cos
Parameters
- arg - floating-point value representing angle in radians @return If no errors occur, the cosine of arg (cos(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cos
Returns
If no errors occur, the cosine of arg (cos(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cos
See Also
- https:en.cppreference.com/w/c/numeric/math/cos
Parameters
- arg - floating-point value representing angle in radians @return If no errors occur, the cosine of arg (cos(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cos
Returns
If no errors occur, the cosine of arg (cos(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cos
See Also
- https:en.cppreference.com/w/c/numeric/math/cos
Parameters
- arg - floating-point value representing angle in radians @return If no errors occur, the cosine of arg (cos(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cos
Returns
If no errors occur, the cosine of arg (cos(arg)) in the range [-1 ; +1], is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/cos
See Also
- https:en.cppreference.com/w/c/numeric/math/cos
Parameters
- arg - floating-point value representing angle in radians @return If no errors occur, the tangent of arg (tan(arg)) is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tan
Returns
If no errors occur, the tangent of arg (tan(arg)) is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tan
See Also
- https:en.cppreference.com/w/c/numeric/math/tan
Parameters
- arg - floating-point value representing angle in radians @return If no errors occur, the tangent of arg (tan(arg)) is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tan
Returns
If no errors occur, the tangent of arg (tan(arg)) is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tan
See Also
- https:en.cppreference.com/w/c/numeric/math/tan
Parameters
- arg - floating-point value representing angle in radians @return If no errors occur, the tangent of arg (tan(arg)) is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tan
Returns
If no errors occur, the tangent of arg (tan(arg)) is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tan
See Also
- https:en.cppreference.com/w/c/numeric/math/tan
Parameters
- arg - floating-point value representing angle in radians @return If no errors occur, the tangent of arg (tan(arg)) is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tan
Returns
If no errors occur, the tangent of arg (tan(arg)) is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tan
See Also
- https:en.cppreference.com/w/c/numeric/math/tan
Parameters
- arg - floating-point value representing angle in radians @return If no errors occur, the tangent of arg (tan(arg)) is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tan
Returns
If no errors occur, the tangent of arg (tan(arg)) is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tan
See Also
- https:en.cppreference.com/w/c/numeric/math/tan
Parameters
- arg - floating-point value representing angle in radians @return If no errors occur, the tangent of arg (tan(arg)) is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tan
Returns
If no errors occur, the tangent of arg (tan(arg)) is returned. The result may have little or no significance if the magnitude of arg is large. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tan
See Also
- https:en.cppreference.com/w/c/numeric/math/tan
Parameters
- arg - floating-point value @return If no errors occur, the arc sine of arg (arcsin(arg)) in the range [-π2; +π2], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asin
Returns
If no errors occur, the arc sine of arg (arcsin(arg)) in the range [-π2; +π2], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asin
See Also
- https:en.cppreference.com/w/c/numeric/math/asin
Parameters
- arg - floating-point value @return If no errors occur, the arc sine of arg (arcsin(arg)) in the range [-π2; +π2], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asin
Returns
If no errors occur, the arc sine of arg (arcsin(arg)) in the range [-π2; +π2], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asin
See Also
- https:en.cppreference.com/w/c/numeric/math/asin
Parameters
- arg - floating-point value @return If no errors occur, the arc sine of arg (arcsin(arg)) in the range [-π2; +π2], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asin
Returns
If no errors occur, the arc sine of arg (arcsin(arg)) in the range [-π2; +π2], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asin
See Also
- https:en.cppreference.com/w/c/numeric/math/asin
Parameters
- arg - floating-point value @return If no errors occur, the arc sine of arg (arcsin(arg)) in the range [-π2; +π2], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asin
Returns
If no errors occur, the arc sine of arg (arcsin(arg)) in the range [-π2; +π2], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asin
See Also
- https:en.cppreference.com/w/c/numeric/math/asin
Parameters
- arg - floating-point value @return If no errors occur, the arc sine of arg (arcsin(arg)) in the range [-π2; +π2], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asin
Returns
If no errors occur, the arc sine of arg (arcsin(arg)) in the range [-π2; +π2], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asin
See Also
- https:en.cppreference.com/w/c/numeric/math/asin
Parameters
- arg - floating-point value @return If no errors occur, the arc sine of arg (arcsin(arg)) in the range [-π2; +π2], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asin
Returns
If no errors occur, the arc sine of arg (arcsin(arg)) in the range [-π2; +π2], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asin
See Also
- https:en.cppreference.com/w/c/numeric/math/asin
Parameters
- arg - floating-point value @return If no errors occur, the arc cosine of arg (arccos(arg)) in the range [0 ; π], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/acos
Returns
If no errors occur, the arc cosine of arg (arccos(arg)) in the range [0 ; π], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/acos
See Also
- https:en.cppreference.com/w/c/numeric/math/acos
Parameters
- arg - floating-point value @return If no errors occur, the arc cosine of arg (arccos(arg)) in the range [0 ; π], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/acos
Returns
If no errors occur, the arc cosine of arg (arccos(arg)) in the range [0 ; π], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/acos
See Also
- https:en.cppreference.com/w/c/numeric/math/acos
Parameters
- arg - floating-point value @return If no errors occur, the arc cosine of arg (arccos(arg)) in the range [0 ; π], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/acos
Returns
If no errors occur, the arc cosine of arg (arccos(arg)) in the range [0 ; π], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/acos
See Also
- https:en.cppreference.com/w/c/numeric/math/acos
Parameters
- arg - floating-point value @return If no errors occur, the arc cosine of arg (arccos(arg)) in the range [0 ; π], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/acos
Returns
If no errors occur, the arc cosine of arg (arccos(arg)) in the range [0 ; π], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/acos
See Also
- https:en.cppreference.com/w/c/numeric/math/acos
Parameters
- arg - floating-point value @return If no errors occur, the arc cosine of arg (arccos(arg)) in the range [0 ; π], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/acos
Returns
If no errors occur, the arc cosine of arg (arccos(arg)) in the range [0 ; π], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/acos
See Also
- https:en.cppreference.com/w/c/numeric/math/acos
Parameters
- arg - floating-point value @return If no errors occur, the arc cosine of arg (arccos(arg)) in the range [0 ; π], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/acos
Returns
If no errors occur, the arc cosine of arg (arccos(arg)) in the range [0 ; π], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/acos
See Also
- https:en.cppreference.com/w/c/numeric/math/acos
Parameters
- arg - floating-point value @return If no errors occur, the arc tangent of arg (arctan(arg)) in the range [-π2; +π2] radians, is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atan
Returns
If no errors occur, the arc tangent of arg (arctan(arg)) in the range [-π2; +π2] radians, is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atan
See Also
- https:en.cppreference.com/w/c/numeric/math/atan
Parameters
- arg - floating-point value @return If no errors occur, the arc tangent of arg (arctan(arg)) in the range [-π2; +π2] radians, is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atan
Returns
If no errors occur, the arc tangent of arg (arctan(arg)) in the range [-π2; +π2] radians, is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atan
See Also
- https:en.cppreference.com/w/c/numeric/math/atan
Parameters
- arg - floating-point value @return If no errors occur, the arc tangent of arg (arctan(arg)) in the range [-π2; +π2] radians, is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atan
Returns
If no errors occur, the arc tangent of arg (arctan(arg)) in the range [-π2; +π2] radians, is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atan
See Also
- https:en.cppreference.com/w/c/numeric/math/atan
Parameters
- arg - floating-point value @return If no errors occur, the arc tangent of arg (arctan(arg)) in the range [-π2; +π2] radians, is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atan
Returns
If no errors occur, the arc tangent of arg (arctan(arg)) in the range [-π2; +π2] radians, is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atan
See Also
- https:en.cppreference.com/w/c/numeric/math/atan
Parameters
- arg - floating-point value @return If no errors occur, the arc tangent of arg (arctan(arg)) in the range [-π2; +π2] radians, is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atan
Returns
If no errors occur, the arc tangent of arg (arctan(arg)) in the range [-π2; +π2] radians, is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atan
See Also
- https:en.cppreference.com/w/c/numeric/math/atan
Parameters
- arg - floating-point value @return If no errors occur, the arc tangent of arg (arctan(arg)) in the range [-π2; +π2] radians, is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atan
Returns
If no errors occur, the arc tangent of arg (arctan(arg)) in the range [-π2; +π2] radians, is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atan
See Also
- https:en.cppreference.com/w/c/numeric/math/atan
Parameters
- x, y - floating-point value @return If no errors occur, the arc tangent of y / x (arctan(y/x)) in the range [-π ; +π] radians, is returned. @see https:en.cppreference.com/w/c/numeric/math/atan2
Returns
If no errors occur, the arc tangent of y / x (arctan(y/x)) in the range [-π ; +π] radians, is returned. @see https:en.cppreference.com/w/c/numeric/math/atan2
See Also
- https:en.cppreference.com/w/c/numeric/math/atan2
Parameters
- x, y - floating-point value @return If no errors occur, the arc tangent of y / x (arctan(y/x)) in the range [-π ; +π] radians, is returned. @see https:en.cppreference.com/w/c/numeric/math/atan2
Returns
If no errors occur, the arc tangent of y / x (arctan(y/x)) in the range [-π ; +π] radians, is returned. @see https:en.cppreference.com/w/c/numeric/math/atan2
See Also
- https:en.cppreference.com/w/c/numeric/math/atan2
Parameters
- x, y - floating-point value @return If no errors occur, the arc tangent of y / x (arctan(y/x)) in the range [-π ; +π] radians, is returned. @see https:en.cppreference.com/w/c/numeric/math/atan2
Returns
If no errors occur, the arc tangent of y / x (arctan(y/x)) in the range [-π ; +π] radians, is returned. @see https:en.cppreference.com/w/c/numeric/math/atan2
See Also
- https:en.cppreference.com/w/c/numeric/math/atan2
Parameters
- x, y - floating-point value @return If no errors occur, the arc tangent of y / x (arctan(y/x)) in the range [-π ; +π] radians, is returned. @see https:en.cppreference.com/w/c/numeric/math/atan2
Returns
If no errors occur, the arc tangent of y / x (arctan(y/x)) in the range [-π ; +π] radians, is returned. @see https:en.cppreference.com/w/c/numeric/math/atan2
See Also
- https:en.cppreference.com/w/c/numeric/math/atan2
Parameters
- x, y - floating-point value @return If no errors occur, the arc tangent of y / x (arctan(y/x)) in the range [-π ; +π] radians, is returned. @see https:en.cppreference.com/w/c/numeric/math/atan2
Returns
If no errors occur, the arc tangent of y / x (arctan(y/x)) in the range [-π ; +π] radians, is returned. @see https:en.cppreference.com/w/c/numeric/math/atan2
See Also
- https:en.cppreference.com/w/c/numeric/math/atan2
Parameters
- x, y - floating-point value @return If no errors occur, the arc tangent of y / x (arctan(y/x)) in the range [-π ; +π] radians, is returned. @see https:en.cppreference.com/w/c/numeric/math/atan2
Returns
If no errors occur, the arc tangent of y / x (arctan(y/x)) in the range [-π ; +π] radians, is returned. @see https:en.cppreference.com/w/c/numeric/math/atan2
See Also
- https:en.cppreference.com/w/c/numeric/math/atan2
Parameters
- arg - floating-point value representing a hyperbolic angle @return If no errors occur, the hyperbolic sine of arg (sinh(arg), or earg-e-arg2) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sinh
Returns
If no errors occur, the hyperbolic sine of arg (sinh(arg), or earg-e-arg2) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sinh
See Also
- https:en.cppreference.com/w/c/numeric/math/sinh
Parameters
- arg - floating-point value representing a hyperbolic angle @return If no errors occur, the hyperbolic sine of arg (sinh(arg), or earg-e-arg2) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sinh
Returns
If no errors occur, the hyperbolic sine of arg (sinh(arg), or earg-e-arg2) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sinh
See Also
- https:en.cppreference.com/w/c/numeric/math/sinh
Parameters
- arg - floating-point value representing a hyperbolic angle @return If no errors occur, the hyperbolic sine of arg (sinh(arg), or earg-e-arg2) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sinh
Returns
If no errors occur, the hyperbolic sine of arg (sinh(arg), or earg-e-arg2) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/sinh
See Also
- https:en.cppreference.com/w/c/numeric/math/sinh
Parameters
- arg - floating-point value representing a hyperbolic angle @return If no errors occur, the hyperbolic cosine of arg (cosh(arg), or earg+e-arg2) is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/cosh
Returns
If no errors occur, the hyperbolic cosine of arg (cosh(arg), or earg+e-arg2) is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/cosh
See Also
- https:en.cppreference.com/w/c/numeric/math/cosh
Parameters
- arg - floating-point value representing a hyperbolic angle @return If no errors occur, the hyperbolic cosine of arg (cosh(arg), or earg+e-arg2) is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/cosh
Returns
If no errors occur, the hyperbolic cosine of arg (cosh(arg), or earg+e-arg2) is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/cosh
See Also
- https:en.cppreference.com/w/c/numeric/math/cosh
Parameters
- arg - floating-point value representing a hyperbolic angle @return If no errors occur, the hyperbolic cosine of arg (cosh(arg), or earg+e-arg2) is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/cosh
Returns
If no errors occur, the hyperbolic cosine of arg (cosh(arg), or earg+e-arg2) is returned. If a range error due to overflow occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/cosh
See Also
- https:en.cppreference.com/w/c/numeric/math/cosh
Parameters
- arg - floating-point value representing a hyperbolic angle @return If no errors occur, the hyperbolic tangent of arg (tanh(arg), or earg-e-argearg+e-arg) is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tanh
Returns
If no errors occur, the hyperbolic tangent of arg (tanh(arg), or earg-e-argearg+e-arg) is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tanh
See Also
- https:en.cppreference.com/w/c/numeric/math/tanh
Parameters
- arg - floating-point value representing a hyperbolic angle @return If no errors occur, the hyperbolic tangent of arg (tanh(arg), or earg-e-argearg+e-arg) is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tanh
Returns
If no errors occur, the hyperbolic tangent of arg (tanh(arg), or earg-e-argearg+e-arg) is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tanh
See Also
- https:en.cppreference.com/w/c/numeric/math/tanh
Parameters
- arg - floating-point value representing a hyperbolic angle @return If no errors occur, the hyperbolic tangent of arg (tanh(arg), or earg-e-argearg+e-arg) is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tanh
Returns
If no errors occur, the hyperbolic tangent of arg (tanh(arg), or earg-e-argearg+e-arg) is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/tanh
See Also
- https:en.cppreference.com/w/c/numeric/math/tanh
Parameters
- arg - floating-point value representing the area of a hyperbolic sector @return If no errors occur, the inverse hyperbolic sine of arg (sinh-1 (arg), or arsinh(arg)), is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asinh
Returns
If no errors occur, the inverse hyperbolic sine of arg (sinh-1 (arg), or arsinh(arg)), is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asinh
See Also
- https:en.cppreference.com/w/c/numeric/math/asinh
Parameters
- arg - floating-point value representing the area of a hyperbolic sector @return If no errors occur, the inverse hyperbolic sine of arg (sinh-1 (arg), or arsinh(arg)), is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asinh
Returns
If no errors occur, the inverse hyperbolic sine of arg (sinh-1 (arg), or arsinh(arg)), is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asinh
See Also
- https:en.cppreference.com/w/c/numeric/math/asinh
Parameters
- arg - floating-point value representing the area of a hyperbolic sector @return If no errors occur, the inverse hyperbolic sine of arg (sinh-1 (arg), or arsinh(arg)), is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asinh
Returns
If no errors occur, the inverse hyperbolic sine of arg (sinh-1 (arg), or arsinh(arg)), is returned. If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/asinh
See Also
- https:en.cppreference.com/w/c/numeric/math/asinh
Parameters
- arg - floating-point value representing the area of a hyperbolic sector @return If no errors occur, the inverse hyperbolic cosine of arg (cosh-1 (arg), or arcosh(arg)) on the interval [0, +∞], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). @see https:en.cppreference.com/w/c/numeric/math/acosh
Returns
If no errors occur, the inverse hyperbolic cosine of arg (cosh-1 (arg), or arcosh(arg)) on the interval [0, +∞], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). @see https:en.cppreference.com/w/c/numeric/math/acosh
See Also
- https:en.cppreference.com/w/c/numeric/math/acosh
Parameters
- arg - floating-point value representing the area of a hyperbolic sector @return If no errors occur, the inverse hyperbolic cosine of arg (cosh-1 (arg), or arcosh(arg)) on the interval [0, +∞], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). @see https:en.cppreference.com/w/c/numeric/math/acosh
Returns
If no errors occur, the inverse hyperbolic cosine of arg (cosh-1 (arg), or arcosh(arg)) on the interval [0, +∞], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). @see https:en.cppreference.com/w/c/numeric/math/acosh
See Also
- https:en.cppreference.com/w/c/numeric/math/acosh
Parameters
- arg - floating-point value representing the area of a hyperbolic sector @return If no errors occur, the inverse hyperbolic cosine of arg (cosh-1 (arg), or arcosh(arg)) on the interval [0, +∞], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). @see https:en.cppreference.com/w/c/numeric/math/acosh
Returns
If no errors occur, the inverse hyperbolic cosine of arg (cosh-1 (arg), or arcosh(arg)) on the interval [0, +∞], is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). @see https:en.cppreference.com/w/c/numeric/math/acosh
See Also
- https:en.cppreference.com/w/c/numeric/math/acosh
Parameters
- arg - floating_point value representing the area of a hyperbolic sector @return If no errors occur, the inverse hyperbolic tangent of arg (tanh-1 (arg), or artanh(arg)), is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the correct sign). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atanh
Returns
If no errors occur, the inverse hyperbolic tangent of arg (tanh-1 (arg), or artanh(arg)), is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the correct sign). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atanh
See Also
- https:en.cppreference.com/w/c/numeric/math/atanh
Parameters
- arg - floating_point value representing the area of a hyperbolic sector @return If no errors occur, the inverse hyperbolic tangent of arg (tanh-1 (arg), or artanh(arg)), is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the correct sign). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atanh
Returns
If no errors occur, the inverse hyperbolic tangent of arg (tanh-1 (arg), or artanh(arg)), is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the correct sign). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atanh
See Also
- https:en.cppreference.com/w/c/numeric/math/atanh
Parameters
- arg - floating_point value representing the area of a hyperbolic sector @return If no errors occur, the inverse hyperbolic tangent of arg (tanh-1 (arg), or artanh(arg)), is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the correct sign). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atanh
Returns
If no errors occur, the inverse hyperbolic tangent of arg (tanh-1 (arg), or artanh(arg)), is returned. If a domain error occurs, an implementation-defined value is returned (NaN where supported). If a pole error occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the correct sign). If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/atanh
See Also
- https:en.cppreference.com/w/c/numeric/math/atanh
Parameters
- arg - floating-point value @return If no errors occur, value of the error function of arg, that is2√π∫arg0e−t2dt, is returned. If a range error occurs due to underflow, the correct result (after rounding), that is2⋅arg√π, is returned. @see https:en.wikipedia.org/wiki/Error_function @see https:en.cppreference.com/w/c/numeric/math/erf
Returns
If no errors occur, value of the error function of arg, that is2√π∫arg0e−t2dt, is returned. If a range error occurs due to underflow, the correct result (after rounding), that is2⋅arg√π, is returned. @see https:en.wikipedia.org/wiki/Error_function @see https:en.cppreference.com/w/c/numeric/math/erf
See Also
- https:en.wikipedia.org/wiki/Error_function @see https:en.cppreference.com/w/c/numeric/math/erf
- https:en.cppreference.com/w/c/numeric/math/erf
Parameters
- arg - floating-point value @return If no errors occur, value of the error function of arg, that is2√π∫arg0e−t2dt, is returned. If a range error occurs due to underflow, the correct result (after rounding), that is2⋅arg√π, is returned. @see https:en.wikipedia.org/wiki/Error_function @see https:en.cppreference.com/w/c/numeric/math/erf
Returns
If no errors occur, value of the error function of arg, that is2√π∫arg0e−t2dt, is returned. If a range error occurs due to underflow, the correct result (after rounding), that is2⋅arg√π, is returned. @see https:en.wikipedia.org/wiki/Error_function @see https:en.cppreference.com/w/c/numeric/math/erf
See Also
- https:en.wikipedia.org/wiki/Error_function @see https:en.cppreference.com/w/c/numeric/math/erf
- https:en.cppreference.com/w/c/numeric/math/erf
Parameters
- arg - floating-point value @return If no errors occur, value of the error function of arg, that is 2√π∫arg0e−t2dt, is returned. If a range error occurs due to underflow, the correct result (after rounding), that is2⋅arg√π, is returned. @see https:en.wikipedia.org/wiki/Error_function @see https:en.cppreference.com/w/c/numeric/math/erf
Returns
If no errors occur, value of the error function of arg, that is 2√π∫arg0e−t2dt, is returned. If a range error occurs due to underflow, the correct result (after rounding), that is2⋅arg√π, is returned. @see https:en.wikipedia.org/wiki/Error_function @see https:en.cppreference.com/w/c/numeric/math/erf
See Also
- https:en.wikipedia.org/wiki/Error_function @see https:en.cppreference.com/w/c/numeric/math/erf
- https:en.cppreference.com/w/c/numeric/math/erf
Parameters
- arg - floating-point value @return If no errors occur, value of the complementary error function of arg, that is 2√π∫∞arge−t2dt or1−erf(arg), is returned.If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/erfc @see https:en.wikipedia.org/wiki/Complementary_error_function
Returns
If no errors occur, value of the complementary error function of arg, that is 2√π∫∞arge−t2dt or1−erf(arg), is returned.If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/erfc @see https:en.wikipedia.org/wiki/Complementary_error_function
See Also
- https:en.cppreference.com/w/c/numeric/math/erfc @see https:en.wikipedia.org/wiki/Complementary_error_function
- https:en.wikipedia.org/wiki/Complementary_error_function
Parameters
- arg - floating-point value @return If no errors occur, value of the complementary error function of arg, that is 2√π∫∞arge−t2dt or1−erf(arg), is returned.If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/erfc @see https:en.wikipedia.org/wiki/Complementary_error_function
Returns
If no errors occur, value of the complementary error function of arg, that is 2√π∫∞arge−t2dt or1−erf(arg), is returned.If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/erfc @see https:en.wikipedia.org/wiki/Complementary_error_function
See Also
- https:en.cppreference.com/w/c/numeric/math/erfc @see https:en.wikipedia.org/wiki/Complementary_error_function
- https:en.wikipedia.org/wiki/Complementary_error_function
Parameters
- arg - floating-point value @return If no errors occur, value of the complementary error function of arg, that is 2√π∫∞arge−t2dt or1−erf(arg), is returned.If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/erfc @see https:en.wikipedia.org/wiki/Complementary_error_function
Returns
If no errors occur, value of the complementary error function of arg, that is 2√π∫∞arge−t2dt or1−erf(arg), is returned.If a range error occurs due to underflow, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/erfc @see https:en.wikipedia.org/wiki/Complementary_error_function
See Also
- https:en.cppreference.com/w/c/numeric/math/erfc @see https:en.wikipedia.org/wiki/Complementary_error_function
- https:en.wikipedia.org/wiki/Complementary_error_function
Parameters
- arg - floating-point value @return If no errors occur, the value of the gamma function of arg, that is Γ(arg)=∫∞0targ−1e−tdt, is returned. If a domain error occurs, an implementation-defined value (NaN where supported) is returned. If a pole error occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.wikipedia.org/wiki/Gamma_function @see https:en.cppreference.com/w/c/numeric/math/tgamma
Returns
If no errors occur, the value of the gamma function of arg, that is Γ(arg)=∫∞0targ−1e−tdt, is returned. If a domain error occurs, an implementation-defined value (NaN where supported) is returned. If a pole error occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.wikipedia.org/wiki/Gamma_function @see https:en.cppreference.com/w/c/numeric/math/tgamma
See Also
- https:en.wikipedia.org/wiki/Gamma_function @see https:en.cppreference.com/w/c/numeric/math/tgamma
- https:en.cppreference.com/w/c/numeric/math/tgamma
Parameters
- arg - floating-point value @return If no errors occur, the value of the gamma function of arg, that is Γ(arg)=∫∞0targ−1e−tdt, is returned. If a domain error occurs, an implementation-defined value (NaN where supported) is returned. If a pole error occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.wikipedia.org/wiki/Gamma_function @see https:en.cppreference.com/w/c/numeric/math/tgamma
Returns
If no errors occur, the value of the gamma function of arg, that is Γ(arg)=∫∞0targ−1e−tdt, is returned. If a domain error occurs, an implementation-defined value (NaN where supported) is returned. If a pole error occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.wikipedia.org/wiki/Gamma_function @see https:en.cppreference.com/w/c/numeric/math/tgamma
See Also
- https:en.wikipedia.org/wiki/Gamma_function @see https:en.cppreference.com/w/c/numeric/math/tgamma
- https:en.cppreference.com/w/c/numeric/math/tgamma
Parameters
- arg - floating-point value @return If no errors occur, the value of the gamma function of arg, that is Γ(arg)=∫∞0targ−1e−tdt, is returned. If a domain error occurs, an implementation-defined value (NaN where supported) is returned. If a pole error occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.wikipedia.org/wiki/Gamma_function @see https:en.cppreference.com/w/c/numeric/math/tgamma
Returns
If no errors occur, the value of the gamma function of arg, that is Γ(arg)=∫∞0targ−1e−tdt, is returned. If a domain error occurs, an implementation-defined value (NaN where supported) is returned. If a pole error occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct value (after rounding) is returned. @see https:en.wikipedia.org/wiki/Gamma_function @see https:en.cppreference.com/w/c/numeric/math/tgamma
See Also
- https:en.wikipedia.org/wiki/Gamma_function @see https:en.cppreference.com/w/c/numeric/math/tgamma
- https:en.cppreference.com/w/c/numeric/math/tgamma
Parameters
- arg - floating-point value @return If no errors occur, the value of the logarithm of the gamma function of arg, that is loge|∫∞0targ−1e−tdt|, is returned. If a pole error occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/lgamma
Returns
If no errors occur, the value of the logarithm of the gamma function of arg, that is loge|∫∞0targ−1e−tdt|, is returned. If a pole error occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/lgamma
See Also
- https:en.cppreference.com/w/c/numeric/math/lgamma
Parameters
- arg - floating-point value @return If no errors occur, the value of the logarithm of the gamma function of arg, that is loge|∫∞0targ−1e−tdt|, is returned. If a pole error occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/lgamma
Returns
If no errors occur, the value of the logarithm of the gamma function of arg, that is loge|∫∞0targ−1e−tdt|, is returned. If a pole error occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/lgamma
See Also
- https:en.cppreference.com/w/c/numeric/math/lgamma
Parameters
- arg - floating-point value @return If no errors occur, the value of the logarithm of the gamma function of arg, that is loge|∫∞0targ−1e−tdt|, is returned. If a pole error occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/lgamma
Returns
If no errors occur, the value of the logarithm of the gamma function of arg, that is loge|∫∞0targ−1e−tdt|, is returned. If a pole error occurs, +HUGE_VAL, +HUGE_VALF, or +HUGE_VALL is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/lgamma
See Also
- https:en.cppreference.com/w/c/numeric/math/lgamma
Parameters
- arg - floating-point value @return If no errors occur, the smallest integer value not less than arg, that is ⌈arg⌉, is returned. @see https:en.cppreference.com/w/c/numeric/math/ceil
Returns
If no errors occur, the smallest integer value not less than arg, that is ⌈arg⌉, is returned. @see https:en.cppreference.com/w/c/numeric/math/ceil
See Also
- https:en.cppreference.com/w/c/numeric/math/ceil
Parameters
- arg - floating-point value @return If no errors occur, the smallest integer value not less than arg, that is ⌈arg⌉, is returned. @see https:en.cppreference.com/w/c/numeric/math/ceil
Returns
If no errors occur, the smallest integer value not less than arg, that is ⌈arg⌉, is returned. @see https:en.cppreference.com/w/c/numeric/math/ceil
See Also
- https:en.cppreference.com/w/c/numeric/math/ceil
Parameters
- arg - floating-point value @return If no errors occur, the smallest integer value not less than arg, that is ⌈arg⌉, is returned. @see https:en.cppreference.com/w/c/numeric/math/ceil
Returns
If no errors occur, the smallest integer value not less than arg, that is ⌈arg⌉, is returned. @see https:en.cppreference.com/w/c/numeric/math/ceil
See Also
- https:en.cppreference.com/w/c/numeric/math/ceil
Parameters
- arg - floating-point value @return If no errors occur, the largest integer value not greater than arg, that is ⌊arg⌋, is returned. @see https:en.cppreference.com/w/c/numeric/math/floor
Returns
If no errors occur, the largest integer value not greater than arg, that is ⌊arg⌋, is returned. @see https:en.cppreference.com/w/c/numeric/math/floor
See Also
- https:en.cppreference.com/w/c/numeric/math/floor
Parameters
- arg - floating-point value @return If no errors occur, the largest integer value not greater than arg, that is ⌊arg⌋, is returned. @see https:en.cppreference.com/w/c/numeric/math/floor
Returns
If no errors occur, the largest integer value not greater than arg, that is ⌊arg⌋, is returned. @see https:en.cppreference.com/w/c/numeric/math/floor
See Also
- https:en.cppreference.com/w/c/numeric/math/floor
Parameters
- arg - floating-point value @return If no errors occur, the largest integer value not greater than arg, that is ⌊arg⌋, is returned. @see https:en.cppreference.com/w/c/numeric/math/floor
Returns
If no errors occur, the largest integer value not greater than arg, that is ⌊arg⌋, is returned. @see https:en.cppreference.com/w/c/numeric/math/floor
See Also
- https:en.cppreference.com/w/c/numeric/math/floor
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value not greater in magnitude than arg (in other words, arg rounded towards zero), is returned. @see https:en.cppreference.com/w/c/numeric/math/trunc
Returns
If no errors occur, the nearest integer value not greater in magnitude than arg (in other words, arg rounded towards zero), is returned. @see https:en.cppreference.com/w/c/numeric/math/trunc
See Also
- https:en.cppreference.com/w/c/numeric/math/trunc
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value not greater in magnitude than arg (in other words, arg rounded towards zero), is returned. @see https:en.cppreference.com/w/c/numeric/math/trunc
Returns
If no errors occur, the nearest integer value not greater in magnitude than arg (in other words, arg rounded towards zero), is returned. @see https:en.cppreference.com/w/c/numeric/math/trunc
See Also
- https:en.cppreference.com/w/c/numeric/math/trunc
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value not greater in magnitude than arg (in other words, arg rounded towards zero), is returned. @see https:en.cppreference.com/w/c/numeric/math/trunc
Returns
If no errors occur, the nearest integer value not greater in magnitude than arg (in other words, arg rounded towards zero), is returned. @see https:en.cppreference.com/w/c/numeric/math/trunc
See Also
- https:en.cppreference.com/w/c/numeric/math/trunc
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
Returns
If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
See Also
- https:en.cppreference.com/w/c/numeric/math/round
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
Returns
If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
See Also
- https:en.cppreference.com/w/c/numeric/math/round
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
Returns
If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
See Also
- https:en.cppreference.com/w/c/numeric/math/round
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
Returns
If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
See Also
- https:en.cppreference.com/w/c/numeric/math/round
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
Returns
If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
See Also
- https:en.cppreference.com/w/c/numeric/math/round
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
Returns
If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
See Also
- https:en.cppreference.com/w/c/numeric/math/round
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
Returns
If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
See Also
- https:en.cppreference.com/w/c/numeric/math/round
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
Returns
If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
See Also
- https:en.cppreference.com/w/c/numeric/math/round
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
Returns
If no errors occur, the nearest integer value to arg, rounding halfway cases away from zero, is returned. @see https:en.cppreference.com/w/c/numeric/math/round
See Also
- https:en.cppreference.com/w/c/numeric/math/round
Parameters
- arg - floating-point value @return The nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/nearbyint
Returns
The nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/nearbyint
See Also
- https:en.cppreference.com/w/c/numeric/math/nearbyint
Parameters
- arg - floating-point value @return The nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/nearbyint
Returns
The nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/nearbyint
See Also
- https:en.cppreference.com/w/c/numeric/math/nearbyint
Parameters
- arg - floating-point value @return The nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/nearbyint
Returns
The nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/nearbyint
See Also
- https:en.cppreference.com/w/c/numeric/math/nearbyint
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
Returns
If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
See Also
- https:en.cppreference.com/w/c/numeric/math/rint
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
Returns
If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
See Also
- https:en.cppreference.com/w/c/numeric/math/rint
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
Returns
If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
See Also
- https:en.cppreference.com/w/c/numeric/math/rint
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
Returns
If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
See Also
- https:en.cppreference.com/w/c/numeric/math/rint
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
Returns
If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
See Also
- https:en.cppreference.com/w/c/numeric/math/rint
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
Returns
If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
See Also
- https:en.cppreference.com/w/c/numeric/math/rint
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
Returns
If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
See Also
- https:en.cppreference.com/w/c/numeric/math/rint
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
Returns
If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
See Also
- https:en.cppreference.com/w/c/numeric/math/rint
Parameters
- arg - floating-point value @return If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
Returns
If no errors occur, the nearest integer value to arg, according to the current rounding mode, is returned. @see https:en.cppreference.com/w/c/numeric/math/rint
See Also
- https:en.cppreference.com/w/c/numeric/math/rint
Returns
If arg is zero, returns zero and stores zero in *exp. Otherwise (if arg is not zero), if no errors occur, returns the value x in the range (-1;-0.5], [0.5; 1) and stores an integer value in *exp such that x×2(*exp)=arg. If the value to be stored in *exp is outside the range of int, the behavior is unspecified. If arg is not a floating-point number, the behavior is unspecified. @see https:en.cppreference.com/w/c/numeric/math/frexp
See Also
- https:en.cppreference.com/w/c/numeric/math/frexp
Returns
If arg is zero, returns zero and stores zero in *exp. Otherwise (if arg is not zero), if no errors occur, returns the value x in the range (-1;-0.5], [0.5; 1) and stores an integer value in *exp such that x×2(*exp)=arg. If the value to be stored in *exp is outside the range of int, the behavior is unspecified. If arg is not a floating-point number, the behavior is unspecified. @see https:en.cppreference.com/w/c/numeric/math/frexp
See Also
- https:en.cppreference.com/w/c/numeric/math/frexp
Returns
If arg is zero, returns zero and stores zero in *exp. Otherwise (if arg is not zero), if no errors occur, returns the value x in the range (-1;-0.5], [0.5; 1) and stores an integer value in *exp such that x×2(*exp)=arg. If the value to be stored in *exp is outside the range of int, the behavior is unspecified. If arg is not a floating-point number, the behavior is unspecified. @see https:en.cppreference.com/w/c/numeric/math/frexp
See Also
- https:en.cppreference.com/w/c/numeric/math/frexp
Parameters
- arg - floating-point value @param exp - integer value @return If no errors occur, arg multiplied by 2 to the power of exp (arg×2exp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/ldexp
- exp - integer value @return If no errors occur, arg multiplied by 2 to the power of exp (arg×2exp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/ldexp
Returns
If no errors occur, arg multiplied by 2 to the power of exp (arg×2exp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/ldexp
See Also
- https:en.cppreference.com/w/c/numeric/math/ldexp
Parameters
- arg - floating-point value @param exp - integer value @return If no errors occur, arg multiplied by 2 to the power of exp (arg×2exp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/ldexp
- exp - integer value @return If no errors occur, arg multiplied by 2 to the power of exp (arg×2exp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/ldexp
Returns
If no errors occur, arg multiplied by 2 to the power of exp (arg×2exp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/ldexp
See Also
- https:en.cppreference.com/w/c/numeric/math/ldexp
Parameters
- arg - floating-point value @param exp - integer value @return If no errors occur, arg multiplied by 2 to the power of exp (arg×2exp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/ldexp
- exp - integer value @return If no errors occur, arg multiplied by 2 to the power of exp (arg×2exp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/ldexp
Returns
If no errors occur, arg multiplied by 2 to the power of exp (arg×2exp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/ldexp
See Also
- https:en.cppreference.com/w/c/numeric/math/ldexp
Parameters
- arg - floating-point value @param iptr - pointer to floating-point value to store the integral part to @return If no errors occur, returns the fractional part of arg with the same sign as arg. The integral part is put into the value pointed to by iptr. The sum of the returned value and the value stored in *iptr gives arg (allowing for rounding). @see https:en.cppreference.com/w/c/numeric/math/modf
- iptr - pointer to floating-point value to store the integral part to @return If no errors occur, returns the fractional part of arg with the same sign as arg. The integral part is put into the value pointed to by iptr. The sum of the returned value and the value stored in *iptr gives arg (allowing for rounding). @see https:en.cppreference.com/w/c/numeric/math/modf
Returns
If no errors occur, returns the fractional part of arg with the same sign as arg. The integral part is put into the value pointed to by iptr. The sum of the returned value and the value stored in *iptr gives arg (allowing for rounding). @see https:en.cppreference.com/w/c/numeric/math/modf
See Also
- https:en.cppreference.com/w/c/numeric/math/modf
Parameters
- arg - floating-point value @param iptr - pointer to floating-point value to store the integral part to @return If no errors occur, returns the fractional part of arg with the same sign as arg. The integral part is put into the value pointed to by iptr. The sum of the returned value and the value stored in *iptr gives arg (allowing for rounding). @see https:en.cppreference.com/w/c/numeric/math/modf
- iptr - pointer to floating-point value to store the integral part to @return If no errors occur, returns the fractional part of arg with the same sign as arg. The integral part is put into the value pointed to by iptr. The sum of the returned value and the value stored in *iptr gives arg (allowing for rounding). @see https:en.cppreference.com/w/c/numeric/math/modf
Returns
If no errors occur, returns the fractional part of arg with the same sign as arg. The integral part is put into the value pointed to by iptr. The sum of the returned value and the value stored in *iptr gives arg (allowing for rounding). @see https:en.cppreference.com/w/c/numeric/math/modf
See Also
- https:en.cppreference.com/w/c/numeric/math/modf
Parameters
- arg - floating-point value @param iptr - pointer to floating-point value to store the integral part to @return If no errors occur, returns the fractional part of arg with the same sign as arg. The integral part is put into the value pointed to by iptr. The sum of the returned value and the value stored in *iptr gives arg (allowing for rounding). @see https:en.cppreference.com/w/c/numeric/math/modf
- iptr - pointer to floating-point value to store the integral part to @return If no errors occur, returns the fractional part of arg with the same sign as arg. The integral part is put into the value pointed to by iptr. The sum of the returned value and the value stored in *iptr gives arg (allowing for rounding). @see https:en.cppreference.com/w/c/numeric/math/modf
Returns
If no errors occur, returns the fractional part of arg with the same sign as arg. The integral part is put into the value pointed to by iptr. The sum of the returned value and the value stored in *iptr gives arg (allowing for rounding). @see https:en.cppreference.com/w/c/numeric/math/modf
See Also
- https:en.cppreference.com/w/c/numeric/math/modf
Parameters
- arg - floating-point value @param exp - integer value @return If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
- exp - integer value @return If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
Returns
If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
See Also
- https:en.cppreference.com/w/c/numeric/math/scalbn
Parameters
- arg - floating-point value @param exp - integer value @return If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
- exp - integer value @return If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
Returns
If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
See Also
- https:en.cppreference.com/w/c/numeric/math/scalbn
Parameters
- arg - floating-point value @param exp - integer value @return If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
- exp - integer value @return If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
Returns
If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
See Also
- https:en.cppreference.com/w/c/numeric/math/scalbn
Parameters
- arg - floating-point value @param exp - integer value @return If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
- exp - integer value @return If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
Returns
If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
See Also
- https:en.cppreference.com/w/c/numeric/math/scalbn
Parameters
- arg - floating-point value @param exp - integer value @return If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
- exp - integer value @return If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
Returns
If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
See Also
- https:en.cppreference.com/w/c/numeric/math/scalbn
Parameters
- arg - floating-point value @param exp - integer value @return If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
- exp - integer value @return If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
Returns
If no errors occur, arg multiplied by FLT_RADIX to the power of exp (arg×FLT_RADIXexp) is returned. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned. If a range error due to underflow occurs, the correct result (after rounding) is returned. @see https:en.cppreference.com/w/c/numeric/math/scalbn
See Also
- https:en.cppreference.com/w/c/numeric/math/scalbn
Parameters
- arg - floating-point value @return If no errors occur, the unbiased exponent of arg is returned as a signed int value. If arg is zero, FP_ILOGB0 is returned. If arg is infinite, INT_MAX is returned. If arg is a NaN, FP_ILOGBNAN is returned. If the correct result is greater than INT_MAX or smaller than INT_MIN, the return value is unspecified and a domain error or range error may occur. @see https:en.cppreference.com/w/c/numeric/math/ilogb
Returns
If no errors occur, the unbiased exponent of arg is returned as a signed int value. If arg is zero, FP_ILOGB0 is returned. If arg is infinite, INT_MAX is returned. If arg is a NaN, FP_ILOGBNAN is returned. If the correct result is greater than INT_MAX or smaller than INT_MIN, the return value is unspecified and a domain error or range error may occur. @see https:en.cppreference.com/w/c/numeric/math/ilogb
See Also
- https:en.cppreference.com/w/c/numeric/math/ilogb
Parameters
- arg - floating-point value @return If no errors occur, the unbiased exponent of arg is returned as a signed int value. If arg is zero, FP_ILOGB0 is returned. If arg is infinite, INT_MAX is returned. If arg is a NaN, FP_ILOGBNAN is returned. If the correct result is greater than INT_MAX or smaller than INT_MIN, the return value is unspecified and a domain error or range error may occur. @see https:en.cppreference.com/w/c/numeric/math/ilogb
Returns
If no errors occur, the unbiased exponent of arg is returned as a signed int value. If arg is zero, FP_ILOGB0 is returned. If arg is infinite, INT_MAX is returned. If arg is a NaN, FP_ILOGBNAN is returned. If the correct result is greater than INT_MAX or smaller than INT_MIN, the return value is unspecified and a domain error or range error may occur. @see https:en.cppreference.com/w/c/numeric/math/ilogb
See Also
- https:en.cppreference.com/w/c/numeric/math/ilogb
Parameters
- arg - floating-point value @return If no errors occur, the unbiased exponent of arg is returned as a signed int value. If arg is zero, FP_ILOGB0 is returned. If arg is infinite, INT_MAX is returned. If arg is a NaN, FP_ILOGBNAN is returned. If the correct result is greater than INT_MAX or smaller than INT_MIN, the return value is unspecified and a domain error or range error may occur. @see https:en.cppreference.com/w/c/numeric/math/ilogb
Returns
If no errors occur, the unbiased exponent of arg is returned as a signed int value. If arg is zero, FP_ILOGB0 is returned. If arg is infinite, INT_MAX is returned. If arg is a NaN, FP_ILOGBNAN is returned. If the correct result is greater than INT_MAX or smaller than INT_MIN, the return value is unspecified and a domain error or range error may occur. @see https:en.cppreference.com/w/c/numeric/math/ilogb
See Also
- https:en.cppreference.com/w/c/numeric/math/ilogb
Parameters
- from, to - floating-point values @return If no errors occur, the next representable value of from in the direction of to. is returned. If from equals to, then to is returned, converted to the type of the function. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the same sign as from). If a range error occurs due to underflow, the correct result is returned. @see https:en.cppreference.com/w/c/numeric/math/nextafter
Returns
If no errors occur, the next representable value of from in the direction of to. is returned. If from equals to, then to is returned, converted to the type of the function. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the same sign as from). If a range error occurs due to underflow, the correct result is returned. @see https:en.cppreference.com/w/c/numeric/math/nextafter
See Also
- https:en.cppreference.com/w/c/numeric/math/nextafter
Parameters
- from, to - floating-point values @return If no errors occur, the next representable value of from in the direction of to. is returned. If from equals to, then to is returned, converted to the type of the function. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the same sign as from). If a range error occurs due to underflow, the correct result is returned. @see https:en.cppreference.com/w/c/numeric/math/nextafter
Returns
If no errors occur, the next representable value of from in the direction of to. is returned. If from equals to, then to is returned, converted to the type of the function. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the same sign as from). If a range error occurs due to underflow, the correct result is returned. @see https:en.cppreference.com/w/c/numeric/math/nextafter
See Also
- https:en.cppreference.com/w/c/numeric/math/nextafter
Parameters
- from, to - floating-point values @return If no errors occur, the next representable value of from in the direction of to. is returned. If from equals to, then to is returned, converted to the type of the function. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the same sign as from). If a range error occurs due to underflow, the correct result is returned. @see https:en.cppreference.com/w/c/numeric/math/nextafter
Returns
If no errors occur, the next representable value of from in the direction of to. is returned. If from equals to, then to is returned, converted to the type of the function. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the same sign as from). If a range error occurs due to underflow, the correct result is returned. @see https:en.cppreference.com/w/c/numeric/math/nextafter
See Also
- https:en.cppreference.com/w/c/numeric/math/nextafter
Parameters
- from, to - floating-point values @return If no errors occur, the next representable value of from in the direction of to. is returned. If from equals to, then to is returned, converted to the type of the function. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the same sign as from). If a range error occurs due to underflow, the correct result is returned. @see https:en.cppreference.com/w/c/numeric/math/nextafter
Returns
If no errors occur, the next representable value of from in the direction of to. is returned. If from equals to, then to is returned, converted to the type of the function. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the same sign as from). If a range error occurs due to underflow, the correct result is returned. @see https:en.cppreference.com/w/c/numeric/math/nextafter
See Also
- https:en.cppreference.com/w/c/numeric/math/nextafter
Parameters
- from, to - floating-point values @return If no errors occur, the next representable value of from in the direction of to. is returned. If from equals to, then to is returned, converted to the type of the function. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the same sign as from). If a range error occurs due to underflow, the correct result is returned. @see https:en.cppreference.com/w/c/numeric/math/nextafter
Returns
If no errors occur, the next representable value of from in the direction of to. is returned. If from equals to, then to is returned, converted to the type of the function. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the same sign as from). If a range error occurs due to underflow, the correct result is returned. @see https:en.cppreference.com/w/c/numeric/math/nextafter
See Also
- https:en.cppreference.com/w/c/numeric/math/nextafter
Parameters
- from, to - floating-point values @return If no errors occur, the next representable value of from in the direction of to. is returned. If from equals to, then to is returned, converted to the type of the function. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the same sign as from). If a range error occurs due to underflow, the correct result is returned. @see https:en.cppreference.com/w/c/numeric/math/nextafter
Returns
If no errors occur, the next representable value of from in the direction of to. is returned. If from equals to, then to is returned, converted to the type of the function. If a range error due to overflow occurs, ±HUGE_VAL, ±HUGE_VALF, or ±HUGE_VALL is returned (with the same sign as from). If a range error occurs due to underflow, the correct result is returned. @see https:en.cppreference.com/w/c/numeric/math/nextafter
See Also
- https:en.cppreference.com/w/c/numeric/math/nextafter
Parameters
- arg - floating-point value @return If no errors occur, the unbiased exponent of arg is returned as a signed floating-point value. If a domain error occurs, an implementation-defined value is returned. If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/logb
Returns
If no errors occur, the unbiased exponent of arg is returned as a signed floating-point value. If a domain error occurs, an implementation-defined value is returned. If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/logb
See Also
- https:en.cppreference.com/w/c/numeric/math/logb
Parameters
- arg - floating-point value @return If no errors occur, the unbiased exponent of arg is returned as a signed floating-point value. If a domain error occurs, an implementation-defined value is returned. If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/logb
Returns
If no errors occur, the unbiased exponent of arg is returned as a signed floating-point value. If a domain error occurs, an implementation-defined value is returned. If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/logb
See Also
- https:en.cppreference.com/w/c/numeric/math/logb
Parameters
- arg - floating-point value @return If no errors occur, the unbiased exponent of arg is returned as a signed floating-point value. If a domain error occurs, an implementation-defined value is returned. If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/logb
Returns
If no errors occur, the unbiased exponent of arg is returned as a signed floating-point value. If a domain error occurs, an implementation-defined value is returned. If a pole error occurs, -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL is returned. @see https:en.cppreference.com/w/c/numeric/math/logb
See Also
- https:en.cppreference.com/w/c/numeric/math/logb
Parameters
- x, y - floating-point values @return If no errors occur, the floating-point value with the magnitude of x and the sign of y is returned. If x is NaN, then NaN with the sign of y is returned. If y is -0, the result is only negative if the implementation supports the signed zero consistently in arithmetic operations. @see https:en.cppreference.com/w/c/numeric/math/copysign
Returns
If no errors occur, the floating-point value with the magnitude of x and the sign of y is returned. If x is NaN, then NaN with the sign of y is returned. If y is -0, the result is only negative if the implementation supports the signed zero consistently in arithmetic operations. @see https:en.cppreference.com/w/c/numeric/math/copysign
See Also
- https:en.cppreference.com/w/c/numeric/math/copysign
Parameters
- x, y - floating-point values @return If no errors occur, the floating-point value with the magnitude of x and the sign of y is returned. If x is NaN, then NaN with the sign of y is returned. If y is -0, the result is only negative if the implementation supports the signed zero consistently in arithmetic operations. @see https:en.cppreference.com/w/c/numeric/math/copysign
Returns
If no errors occur, the floating-point value with the magnitude of x and the sign of y is returned. If x is NaN, then NaN with the sign of y is returned. If y is -0, the result is only negative if the implementation supports the signed zero consistently in arithmetic operations. @see https:en.cppreference.com/w/c/numeric/math/copysign
See Also
- https:en.cppreference.com/w/c/numeric/math/copysign
Parameters
- x, y - floating-point values @return If no errors occur, the floating-point value with the magnitude of x and the sign of y is returned. If x is NaN, then NaN with the sign of y is returned. If y is -0, the result is only negative if the implementation supports the signed zero consistently in arithmetic operations. @see https:en.cppreference.com/w/c/numeric/math/copysign
Returns
If no errors occur, the floating-point value with the magnitude of x and the sign of y is returned. If x is NaN, then NaN with the sign of y is returned. If y is -0, the result is only negative if the implementation supports the signed zero consistently in arithmetic operations. @see https:en.cppreference.com/w/c/numeric/math/copysign
See Also
- https:en.cppreference.com/w/c/numeric/math/copysign
See Also
- https:en.cppreference.com/w/c/numeric/math/isunordered
See Also
- https:en.cppreference.com/w/c/numeric/math/float_t
Parameters
Returns
If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes. @see https:en.cppreference.com/w/c/numeric/math/fabs
See Also