Method IsInfinityOrNaN
- Namespace
- Zyl.VectorTraits.Numerics
- Assembly
- VectorTraits.dll
IsInfinityOrNaN(float)
Determines if a element is infinite or NaN (确定元素是否为无穷大或非数).
public static bool IsInfinityOrNaN(float value)
Parameters
value
floatThe value to be checked (要检查的值).
Returns
- bool
Return
true
if value is infinite or NaN, otherwise isfalse
(如果值是无穷大或非数,则返回true
,否则返回false
).
- See Also
-
IsFinite(TSelf)
IsInfinityOrNaN(double)
Determines if a element is infinite or NaN (确定元素是否为无穷大或非数).
public static bool IsInfinityOrNaN(double value)
Parameters
value
doubleThe value to be checked (要检查的值).
Returns
- bool
Return
true
if value is infinite or NaN, otherwise isfalse
(如果值是无穷大或非数,则返回true
,否则返回false
).
- See Also
-
IsFinite(TSelf)
IsInfinityOrNaN(Half)
Determines if a element is infinite or NaN (确定元素是否为无穷大或非数).
public static bool IsInfinityOrNaN(Half value)
Parameters
value
HalfThe value to be checked (要检查的值).
Returns
- bool
Return
true
if value is infinite or NaN, otherwise isfalse
(如果值是无穷大或非数,则返回true
,否则返回false
).
- See Also
-
IsFinite(TSelf)