isSignaling

Determines if x represents a signaling NaN. This operation is silent, no error flags are set and no exceptions are thrown.

@IEEECompliant("isSignaling", 25)
bool
isSignaling
(
D
)
(
auto const ref D x
)

Parameters

x D

a _decimal value

Return Value

Type: bool

true if x is NaN and is signaling, false otherwise (quiet NaN, any other value)

Examples

assert(isSignaling(decimal32()));
assert(!isSignaling(decimal64.nan));
assert(!isSignaling(decimal128.max));

Meta