a value with the same numerical value as x but with the exponent of y
InvalidOperationException | x is signaling NaN |
InvalidOperationException | only one of x or y is ±∞ |
InexactException | result is inexact |
x | y | quantize(x, y) |
---|---|---|
NaN | any | NaN |
any | NaN | NaN |
±∞ | ±∞ | ±∞ |
±∞ | any | NaN |
any | ±∞ | NaN |
Express a value using another value exponent