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

◆ abs() [3/8]

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

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

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