xtd 0.2.0
Loading...
Searching...
No Matches

◆ abs() [2/8]

static double xtd::math::abs ( double  value)
static

Returns the absolute value of a double-precision floating-point number.

Parameters
valueA number in the range std::numeric_limit<double>::lowest() <= value <= std::numeric_limit<double>::max().
Returns
A double-precision floating-point number, x, such that 0 <= x <= std::numeric_limit<double>::max().