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

◆ is_infinity()

template<typename type_t >
static bool xtd::box_floating_point< type_t >::is_infinity ( type_t  value)
inlinestaticnoexcept

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

Parameters
valueA floating-point number.
Returns
true if value evaluates to xtd::math::positive_infinity or xtd::math::negative_infinity; otherwise, false.