xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <math.h>
Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions.
Inherits xtd::static_object.
Static Public Attributes | |
static constexpr double | e |
Represents the natural logarithmic base, specified by the constant, e. This field is constant. More... | |
static constexpr double | epsilon |
Represents the smallest positive Double value greater than zero. This field is constant. More... | |
static constexpr double | infinity |
Represents infinity. This field is constant. More... | |
static constexpr double | max_value |
Represents the largest possible value of double. This field is constant. More... | |
static constexpr double | min_value |
Represents the smallest possible value of double. This field is constant. More... | |
static constexpr double | NaN |
Represents not a number (NaN). This field is constant. More... | |
static constexpr double | negative_infinity |
Represents negative infinity. This field is constant. More... | |
static constexpr double | pi |
Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π. This field is constant. More... | |
static constexpr double | positive_infinity |
Represents positive infinity. This field is constant. More... | |
static constexpr double | tau |
Represents the number of radians in one turn, specified by the constant, τ. More... | |
Static Public Member Functions | |
static decimal_t | abs (decimal_t value) |
Returns the absolute value of a decimal number. More... | |
static double | abs (double value) |
Returns the absolute value of a double-precision floating-point number. More... | |
static float | abs (float value) |
Returns the absolute value of a single-precision floating-point number. More... | |
static int16_t | abs (int16_t value) |
Returns the absolute value of a 16-bit signed integer. More... | |
static int32_t | abs (int32_t value) |
Returns the absolute value of a 32-bit signed integer. More... | |
static int64_t | abs (int64_t value) |
Returns the absolute value of a 64-bit signed integer. More... | |
static llong_t | abs (llong_t value) |
Returns the absolute value of a 64-bit signed integer. More... | |
static sbyte_t | abs (sbyte_t value) |
Returns the absolute value of a 8-bit signed integer. More... | |
static double | acos (double value) |
Returns the angle whose cosine is the specified number. More... | |
static double | asin (double value) |
Returns the angle whose sine is the specified number. More... | |
static double | atan (double value) |
Returns the angle whose tangent is the specified number. More... | |
static double | atan2 (double y, double x) |
Returns the angle whose tangent is the specified number. More... | |
static int64_t | big_mul (int32_t a, int32_t b) |
Produces the full product of two 32-bit numbers. More... | |
static decimal | ceiling (decimal value) |
Returns the smallest integer greater than or equal to the specified double-precision floating-point number. More... | |
static double | ceiling (double value) |
Returns the smallest integer greater than or equal to the specified double-precision floating-point number. More... | |
static double | cos (double value) |
Returns the cosine of the specified angle. More... | |
static double | cosh (double value) |
Returns the hyperbolic cosine of the specified angle. More... | |
static double | degrees_to_radians (double degrees) |
Convert degrees to radians. More... | |
static int32_t | div_rem (int32_t dividend, int32_t divisor, int32_t &remainder) |
Calculates the quotient of two 32-bit signed integers and also returns the remainder in an output parameter. More... | |
static int64_t | div_rem (int64_t dividend, int64_t divisor, int64_t &remainder) |
Calculates the quotient of two 64-bit signed integers and also returns the remainder in an output parameter. More... | |
static double | exp (double value) |
Returns e raised to the specified power. More... | |
static decimal_t | floor (decimal_t value) |
Returns the largest integer less than or equal to the specified decimal number. More... | |
static double | floor (double value) |
Returns the largest integer less than or equal to the specified decimal number. More... | |
static double | ieee_remainder (double dividend, double divisor) |
Returns the remainder resulting from the division of a specified number by another specified number. More... | |
static bool | is_infinity (double value) |
Returns a value indicating whether the specified number evaluates to negative or positive infinity. More... | |
static bool | is_NaN (double value) |
Returns a value indicating whether the specified number evaluates to not a number. More... | |
static bool | is_negative_infinity (double value) |
Returns a value indicating whether the specified number evaluates to negative infinity. More... | |
static bool | is_positive_infinity (double value) |
Returns a value indicating whether the specified number evaluates to positive infinity. More... | |
static double | log (double a, double new_base) |
Returns the logarithm of a specified number in a specified base. More... | |
static double | log (double value) |
Returns the natural (base e) logarithm of a specified number. More... | |
static double | log10 (double value) |
Returns the base 10 logarithm of a specified number. More... | |
static byte_t | max (byte_t a, byte_t b) |
Returns the larger of two 8-bit unsigned integers. More... | |
static decimal_t | max (decimal_t a, decimal_t b) |
Returns the larger of two double single. More... | |
static double | max (double a, double b) |
Returns the larger of two double single. More... | |
static float | max (float a, float b) |
Returns the larger of two single single. More... | |
static int16_t | max (int16_t a, int16_t b) |
Returns the larger of two 16-bit signed integers. More... | |
static int32_t | max (int32_t a, int32_t b) |
Returns the larger of two 32-bit signed integers. More... | |
static int64_t | max (int64_t a, int64_t b) |
Returns the larger of two 64-bit signed integers. More... | |
static llong_t | max (llong_t a, llong_t b) |
Returns the larger of two 64-bit signed integers. More... | |
static sbyte_t | max (sbyte_t a, sbyte_t b) |
Returns the larger of two 8-bit signed integers. More... | |
static uint16_t | max (uint16_t a, uint16_t b) |
Returns the larger of two 16-bit unsigned integers. More... | |
static uint32_t | max (uint32_t a, uint32_t b) |
Returns the larger of two 32-bit unsigned integers. More... | |
static uint64_t | max (uint64_t a, uint64_t b) |
Returns the larger of two 64-bit unsigned integers. More... | |
static ullong_t | max (ullong_t a, ullong_t b) |
Returns the larger of two 64-bit unsigned integers. More... | |
static byte_t | min (byte_t a, byte_t b) |
Returns the smaller of two 8-bit unsigned integers. More... | |
static decimal_t | min (decimal_t a, decimal_t b) |
Returns the smaller of two double single. More... | |
static double | min (double a, double b) |
Returns the smaller of two double single. More... | |
static float | min (float a, float b) |
Returns the smaller of two single single. More... | |
static int16_t | min (int16_t a, int16_t b) |
Returns the smaller of two 16-bit signed integers. More... | |
static int32_t | min (int32_t a, int32_t b) |
Returns the smaller of two 32-bit signed integers. More... | |
static int64_t | min (int64_t a, int64_t b) |
Returns the smaller of two 64-bit signed integers. More... | |
static llong_t | min (llong_t a, llong_t b) |
Returns the smaller of two 64-bit signed integers. More... | |
static sbyte_t | min (sbyte_t a, sbyte_t b) |
Returns the smaller of two 8-bit signed integers. More... | |
static uint16_t | min (uint16_t a, uint16_t b) |
Returns the smaller of two 16-bit unsigned integers. More... | |
static uint32_t | min (uint32 a, uint32 b) |
Returns the smaller of two 32-bit unsigned integers. More... | |
static uint64 | min (uint64_t a, uint64_t b) |
Returns the smaller of two 64-bit unsigned integers. More... | |
static ullong_t | min (ullong_t a, ullong_t b) |
Returns the smaller of two 64-bit unsigned integers. More... | |
static double | pow (double x, double y) |
Returns a specified number raised to the specified power. More... | |
static double | radians_to_degrees (double radians) |
Convert radians to degrees. More... | |
static decimal_t | round (decimal_t value) |
Rounds a double-precision floating-point value to the nearest integral value. More... | |
static decimal_t | round (decimal_t value, int32_t decimals) |
Rounds a decimal value to a specified number of fractional digits. More... | |
static double | round (double value) |
Rounds a double-precision floating-point value to the nearest integral value. More... | |
static double | round (double value, int32_t decimals) |
Rounds a decimal value to a specified number of fractional digits. More... | |
static int32_t | sign (decimal_t value) |
Returns a value indicating the sign of a double-precision floating-point number. More... | |
static int32_t | sign (double value) |
Returns a value indicating the sign of a double-precision floating-point number. More... | |
static int32_t | sign (float value) |
Returns a value indicating the sign of a single-precision floating-point number. More... | |
static int32_t | sign (int16_t value) |
Returns a value indicating the sign of a 16-bit signed integer. More... | |
static int32_t | sign (int32_t value) |
Returns a value indicating the sign of a 32-bit signed integer. More... | |
static int32_t | sign (int64_t value) |
Returns a value indicating the sign of a 64-bit signed integer. More... | |
static int32_t | sign (llong_t value) |
Returns a value indicating the sign of a 64-bit signed integer. More... | |
static int32_t | sign (sbyte_t value) |
Returns a value indicating the sign of an 8-bit signed integer. More... | |
static double | sin (double value) |
Returns the sine of the specified angle. More... | |
static double | sinh (double value) |
Returns the hyperbolic sine of the specified angle. More... | |
static double | sqrt (double value) |
Returns the square root of a specified number. More... | |
static double | tan (double value) |
Returns the tangent of the specified angle. More... | |
static double | tanh (double value) |
Returns the hyperbolic tangent of the specified angle. More... | |
static decimal_t | truncate (decimal_t value) |
Calculates the integral part of a specified double-precision floating-point number. More... | |
static double | truncate (double value) |
Calculates the integral part of a specified double-precision floating-point number. More... | |
|
static |
Returns the absolute value of a decimal number.
value | A number in the range std::numeric_limit<decimal_t>::lowest() <= value <= std::numeric_limit<decimal_t>::max(). |
|
static |
Returns the absolute value of a double-precision floating-point number.
value | A number in the range std::numeric_limit<double>::lowest() <= value <= std::numeric_limit<double>::max(). |
|
static |
Returns the absolute value of a single-precision floating-point number.
value | A number in the range std::numeric_limit<float>::lowest() <= value <= std::numeric_limit<float>::max(). |
|
static |
Returns the absolute value of a 16-bit signed integer.
value | A number in the range std::numeric_limit<int16_t>::lowest() <= value <= std::numeric_limit<int16_t>::max(). |
xtd::overflow_exception | value equals std::numeric_limit<int16_t>::lowest(). |
|
static |
Returns the absolute value of a 32-bit signed integer.
value | A number in the range std::numeric_limit<int32_t>::lowest() <= value <= std::numeric_limit<int32_t>::max(). |
xtd::overflow_exception | value equals std::numeric_limit<int32_t>::lowest(). |
|
static |
Returns the absolute value of a 64-bit signed integer.
value | A number in the range std::numeric_limit<int64_t>::min() <= value <= std::numeric_limit<int64_t>::max(). |
xtd::overflow_exception | value equals std::numeric_limit<int64_t>::lowest(). |
|
static |
Returns the absolute value of a 64-bit signed integer.
value | A number in the range std::numeric_limit<llong_t>::lowest() <= value <= std::numeric_limit<llong_t>::max(). |
xtd::overflow_exception | value equals std::numeric_limit<llong_t>::lowest(). |
|
static |
Returns the absolute value of a 8-bit signed integer.
value | A number in the range std::numeric_limit<sbyte_t>::lowest() <= value <= std::numeric_limit<sbyte_t>::max(). |
xtd::overflow_exception | value equals std::numeric_limit<sbyte_tsbyte_t>::lowest(). |
|
static |
Returns the angle whose cosine is the specified number.
value | A number representing a cosine, where -1 <= value <= 1. |
|
static |
Returns the angle whose sine is the specified number.
value | A number representing a sine, where -1 <= value <= 1. |
|
static |
Returns the angle whose tangent is the specified number.
value | A number representing a tangent. |
|
static |
Returns the angle whose tangent is the specified number.
y | The y coordinate of a point. |
x | The x coordinate of a point. |
|
static |
Produces the full product of two 32-bit numbers.
a | The first int32 to multiply. |
b | The second int32 to multiply. |
Returns the smallest integer greater than or equal to the specified double-precision floating-point number.
value | A double-precision floating-point number. |
|
static |
Returns the smallest integer greater than or equal to the specified double-precision floating-point number.
value | A double-precision floating-point number. |
|
static |
Returns the cosine of the specified angle.
value | An angle, measured in radians. |
|
static |
Returns the hyperbolic cosine of the specified angle.
value | An angle, measured in radians. |
|
static |
Convert degrees to radians.
degrees | A double-precision floating-point number. |
|
static |
Calculates the quotient of two 32-bit signed integers and also returns the remainder in an output parameter.
dividend | The dividend. |
divisor | The divisor. |
remainder | An angle, measured in radians. |
|
static |
Calculates the quotient of two 64-bit signed integers and also returns the remainder in an output parameter.
dividend | The dividend. |
divisor | The divisor. |
remainder | An angle, measured in radians. |
|
static |
Returns e raised to the specified power.
value | A number specifying a power. |
|
static |
Returns the largest integer less than or equal to the specified decimal number.
value | A double-precision floating-point number. |
|
static |
Returns the largest integer less than or equal to the specified decimal number.
value | A double-precision floating-point number. |
|
static |
Returns the remainder resulting from the division of a specified number by another specified number.
dividend | A dividend. |
divisor | A divisor. |
|
static |
Returns a value indicating whether the specified number evaluates to negative or positive infinity.
value | A double-precision floating-point number. |
|
static |
Returns a value indicating whether the specified number evaluates to not a number.
value | A double-precision floating-point number. |
|
static |
Returns a value indicating whether the specified number evaluates to negative infinity.
value | A double-precision floating-point number. |
|
static |
Returns a value indicating whether the specified number evaluates to positive infinity.
value | A double-precision floating-point number. |
|
static |
Returns the logarithm of a specified number in a specified base.
a | The number whose logarithm is to be found. |
new_base | The base of the logarithm. |
a | new_base | Return value |
---|---|---|
a > 0 | (0 < new_base < 1) -or- (new_base > 1) | log new_base (a) |
a < 0 | (any value) | xtd::math::NaN |
(any value) | new_base < 0 | xtd::math::NaN |
a != 1 | new_base = 0 | xtd::math::NaN |
a != 1 | new_base = xtd::math::positive_infinity | xtd::math::NaN |
a = xtd::math::NaN | (any value) | xtd::math::NaN |
(any value) | new_base = xtd::math::NaN | xtd::math::NaN |
(any value) | new_base = 1 | xtd::math::NaN |
a = 0 | 0 < new_base < 1 | xtd::math::positive_infinity |
a = 0 | new_base > 1 | xtd::math::negative_infinity |
a = xtd::math::positive_infinity | 0 < new_base < 1 | xtd::math::negative_infinity |
a = xtd::math::positive_infinity | new_base > 1 | xtd::math::positive_infinity |
a = 1 | new_base = 0 | 0 |
a = 1 | new_base = xtd::math::positive_infinity | 0 |
|
static |
Returns the natural (base e) logarithm of a specified number.
value | A number whose logarithm is to be found. |
value parameter | Return value |
---|---|
Positive | The natural logarithm of d; that is, ln value, or log e value |
Zero | xtd::math::negative_infinity |
Negative | xtd::math::NaN |
Equal to xtd::math::NaN | xtd::math::NaN |
Equal to xtd::math::positive_infinity | xtd::math::positive_infinity |
|
static |
Returns the base 10 logarithm of a specified number.
value | A number whose logarithm is to be found. |
value parameter | Return value |
---|---|
Positive | The natural logarithm of d; that is, ln value, or log e value |
Zero | xtd::math::negative_infinity |
Negative | xtd::math::NaN |
Equal to xtd::math::NaN | xtd::math::NaN |
Equal to xtd::math::positive_infinity | xtd::math::positive_infinity |
|
static |
Returns the larger of two 8-bit unsigned integers.
a | The first of two 8-bit unsigned integers to compare. |
b | The second of two 8-bit unsigned integers to compare. |
|
static |
Returns the larger of two double single.
a | The first of two double single to compare. |
b | The second of two double single to compare. |
|
static |
Returns the larger of two double single.
a | The first of two double single to compare. |
b | The second of two double single to compare. |
|
static |
Returns the larger of two single single.
a | The first of two single single to compare. |
b | The second of two single single to compare. |
|
static |
Returns the larger of two 16-bit signed integers.
a | The first of two 16-bit signed integers to compare. |
b | The second of two 16-bit signed integers to compare. |
|
static |
Returns the larger of two 32-bit signed integers.
a | The first of two 32-bit signed integers to compare. |
b | The second of two 32-bit signed integers to compare. |
|
static |
Returns the larger of two 64-bit signed integers.
a | The first of two 64-bit signed integers to compare. |
b | The second of two 64-bit signed integers to compare. |
|
static |
Returns the larger of two 64-bit signed integers.
a | The first of two 64-bit signed integers to compare. |
b | The second of two 64-bit signed integers to compare. |
|
static |
Returns the larger of two 8-bit signed integers.
a | The first of two 8-bit signed integers to compare. |
b | The second of two 8-bit signed integers to compare. |
|
static |
Returns the larger of two 16-bit unsigned integers.
a | The first of two 16-bit unsigned integers to compare. |
b | The second of two 16-bit unsigned integers to compare. |
|
static |
Returns the larger of two 32-bit unsigned integers.
a | The first of two 32-bit unsigned integers to compare. |
b | The second of two 32-bit unsigned integers to compare. |
|
static |
Returns the larger of two 64-bit unsigned integers.
a | The first of two 64-bit unsigned integers to compare. |
b | The second of two 64-bit unsigned integers to compare. |
|
static |
Returns the larger of two 64-bit unsigned integers.
a | The first of two 64-bit unsigned integers to compare. |
b | The second of two 64-bit unsigned integers to compare. |
|
static |
Returns the smaller of two 8-bit unsigned integers.
a | The first of two 8-bit unsigned integers to compare. |
b | The second of two 8-bit unsigned integers to compare. |
|
static |
Returns the smaller of two double single.
a | The first of two double single to compare. |
b | The second of two double single to compare. |
|
static |
Returns the smaller of two double single.
a | The first of two double single to compare. |
b | The second of two double single to compare. |
|
static |
Returns the smaller of two single single.
a | The first of two single single to compare. |
b | The second of two single single to compare. |
|
static |
Returns the smaller of two 16-bit signed integers.
a | The first of two 16-bit signed integers to compare. |
b | The second of two 16-bit signed integers to compare. |
|
static |
Returns the smaller of two 32-bit signed integers.
a | The first of two 32-bit signed integers to compare. |
b | The second of two 32-bit signed integers to compare. |
|
static |
Returns the smaller of two 64-bit signed integers.
a | The first of two 64-bit signed integers to compare. |
b | The second of two 64-bit signed integers to compare. |
|
static |
Returns the smaller of two 64-bit signed integers.
a | The first of two 64-bit signed integers to compare. |
b | The second of two 64-bit signed integers to compare. |
|
static |
Returns the smaller of two 8-bit signed integers.
a | The first of two 8-bit signed integers to compare. |
b | The second of two 8-bit signed integers to compare. |
|
static |
Returns the smaller of two 16-bit unsigned integers.
a | The first of two 16-bit unsigned integers to compare. |
b | The second of two 16-bit unsigned integers to compare. |
Returns the smaller of two 32-bit unsigned integers.
a | The first of two 32-bit unsigned integers to compare. |
b | The second of two 32-bit unsigned integers to compare. |
|
static |
Returns the smaller of two 64-bit unsigned integers.
a | The first of two 64-bit unsigned integers to compare. |
b | The second of two 64-bit unsigned integers to compare. |
|
static |
Returns the smaller of two 64-bit unsigned integers.
a | The first of two 64-bit unsigned integers to compare. |
b | The second of two 64-bit unsigned integers to compare. |
|
static |
Returns a specified number raised to the specified power.
x | A double-precision floating-point number to be raised to a power. |
y | A double-precision floating-point number that specifies a power. |
Parameters | Return value |
---|---|
x or y = math::NaN. | math::NaN |
x = Any value except math::NaN; y = 0. | 1 |
x = math::negative_infinity; y < 0. | 0 |
x = math::negative_infinity; y is positive odd integer. | math::negative_infinity |
x = math::negative_infinity; y is positive but not an odd integer. | math::positive_infinity |
x < 0 but not math::negative_infinity; y is not an integer, math::negative_infinity, or math::positive_infinity. | math::NaN |
x = -1; y = math::negative_infinity or math::positive_infinity. | math::NaN |
-1 < x < 1; y = math::negative_infinity. | math::positive_infinity |
-1 < x < 1; y = math::positive_infinity. | 0 |
x < -1 or x > 1; y = math::negative_infinity. | 0 |
x < -1 or x > 1; y = math::positive_infinity. | math::positive_infinity |
x = 0; y < 0. | math::positive_infinity |
x = 0; y > 0. | 0 |
x = 1; y is any value except math::NaN. | 1 |
x = math::positive_infinity; y < 0 | 0 |
x = math::positive_infinity; y > 0. | math::positive_infinity |
|
static |
Convert radians to degrees.
radians | A double-precision floating-point number. |
|
static |
Rounds a double-precision floating-point value to the nearest integral value.
value | A double-precision floating-point number to be rounded. |
|
static |
Rounds a decimal value to a specified number of fractional digits.
value | A double-precision floating-point number to be rounded. |
decimals | The number of decimal places in the return value. |
|
static |
Rounds a double-precision floating-point value to the nearest integral value.
value | A double-precision floating-point number to be rounded. |
|
static |
Rounds a decimal value to a specified number of fractional digits.
value | A double-precision floating-point number to be rounded. |
decimals | The number of decimal places in the return value. |
|
static |
Returns a value indicating the sign of a double-precision floating-point number.
value | A signed number. |
Return value | Meaning |
---|---|
-1 | value is less than zero. |
0 | value is equal to zero. |
1 | value is greater than zero. |
xtd::arithmetic_exception | value is equal to NaN. |
|
static |
Returns a value indicating the sign of a double-precision floating-point number.
value | A signed number. |
Return value | Meaning |
---|---|
-1 | value is less than zero. |
0 | value is equal to zero. |
1 | value is greater than zero. |
xtd::arithmetic_exception | value is equal to NaN. |
|
static |
Returns a value indicating the sign of a single-precision floating-point number.
value | A signed number. |
Return value | Meaning |
---|---|
-1 | value is less than zero. |
0 | value is equal to zero. |
1 | value is greater than zero. |
xtd::arithmetic_exception | value is equal to NaN. |
|
static |
Returns a value indicating the sign of a 16-bit signed integer.
value | A signed number. |
Return value | Meaning |
---|---|
-1 | value is less than zero. |
0 | value is equal to zero. |
1 | value is greater than zero. |
|
static |
Returns a value indicating the sign of a 32-bit signed integer.
value | A signed number. |
Return value | Meaning |
---|---|
-1 | value is less than zero. |
0 | value is equal to zero. |
1 | value is greater than zero. |
|
static |
Returns a value indicating the sign of a 64-bit signed integer.
value | A signed number. |
Return value | Meaning |
---|---|
-1 | value is less than zero. |
0 | value is equal to zero. |
1 | value is greater than zero. |
|
static |
Returns a value indicating the sign of a 64-bit signed integer.
value | A signed number. |
Return value | Meaning |
---|---|
-1 | value is less than zero. |
0 | value is equal to zero. |
1 | value is greater than zero. |
|
static |
Returns a value indicating the sign of an 8-bit signed integer.
value | A signed number. |
Return value | Meaning |
---|---|
-1 | value is less than zero. |
0 | value is equal to zero. |
1 | value is greater than zero. |
|
static |
Returns the sine of the specified angle.
value | An angle, measured in radians. |
|
static |
Returns the hyperbolic sine of the specified angle.
value | An angle, measured in radians. |
|
static |
Returns the square root of a specified number.
value | The number whose square root is to be found. |
value parameter | Return value |
---|---|
Zero or positive | The positive square root of d. |
Negative | math::NaN |
Equals math::NaN | math::NaN |
Equals math::positive_infinity | math::positive_infinity |
|
static |
Returns the tangent of the specified angle.
value | An angle, measured in radians. |
|
static |
Returns the hyperbolic tangent of the specified angle.
value | An angle, measured in radians. |
|
static |
Calculates the integral part of a specified double-precision floating-point number.
value | A number to truncate. |
value | Return value |
---|---|
NaN | NaN |
NegativeInfinity | NegativeInfinity |
PositiveInfinity | PositiveInfinity |
|
static |
Calculates the integral part of a specified double-precision floating-point number.
value | A number to truncate. |
value | Return value |
---|---|
math::NaN | math::NaN |
math::negative_infinity | math::negative_infinity |
math::positive_infinity | math::positive_infinity |
|
staticconstexpr |
Represents the natural logarithmic base, specified by the constant, e. This field is constant.
|
staticconstexpr |
Represents the smallest positive Double value greater than zero. This field is constant.
|
staticconstexpr |
Represents infinity. This field is constant.
|
staticconstexpr |
Represents the largest possible value of double. This field is constant.
|
staticconstexpr |
Represents the smallest possible value of double. This field is constant.
|
staticconstexpr |
Represents not a number (NaN). This field is constant.
|
staticconstexpr |
Represents negative infinity. This field is constant.
|
staticconstexpr |
Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π. This field is constant.
|
staticconstexpr |
Represents positive infinity. This field is constant.
|
staticconstexpr |
Represents the number of radians in one turn, specified by the constant, τ.