fmin

Returns the smaller _decimal value between x and y

@IEEECompliant("minNum", 19)
fmin
(
D1
D2
)
(
auto const ref D1 x
,
auto const ref D2 y
)
if ()

Throws

InvalidOperationException if x or y is signaling NaN

Special values

xyfmin(x, y)
NaNanyy
anyNaNx

Examples

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

Meta