fmaxAbs

Returns the larger _decimal value between absolutes of x and y

@IEEECompliant("maxNumMag", 19)
fmaxAbs
(
D1
D2
)
(
auto const ref D1 x
,
auto const ref D2 y
)
if ()

Throws

InvalidOperationException if x or y is signaling NaN

Special values

xyfmaxAbs(x, y)
NaNanyy
anyNaNx

Examples

decimal32 x = 3;
decimal64 y = -4;
assert (fmaxAbs(x, y) == -4);

Meta