Format | Assembly Format | Description |
---|---|---|
C3 | ckfinite |
Throw ArithmeticException if value is not a finite number. |
…, value …, value
The ckfinite
instruction throws ArithmeticException
if value (a floating-point number) is either a "not a number" value (NaN) or +/- infinity value. ckfinite
leaves the value on the stack if no exception is thrown. Execution behavior is unspecified if value is not a floating-point number.
System.ArithmeticException
is thrown if value is a NaN or an infinity.
Correct CIL guarantees that value is a floating-point number.
There are no additional verification requirements.