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

◆ is_infinity()

static bool xtd::math::is_infinity ( double  value)
staticnoexcept

Returns a value indicating whether the specified number evaluates to negative or positive infinity.

Parameters
valueA double-precision floating-point number.
Returns
true if value evaluates to xtd::math::positive_infinity or xtd::math::negative_infinity; otherwise, false.
Deprecated:
Replaced by xtd::double_object::is_infinity - Will be removed in version 0.4.0