Decimal.opCmp

Implementation of comparison operator. Supported types : _decimal, floating point, integral, char

thisValueResultInvalid
NaNanyNaN
anyNaNNaN
anyany±1.0, 0.0
struct Decimal(int bits)
const
@IEEECompliant("compareSignalingGreater", 24)
@IEEECompliant("compareSignalingGreaterEqual", 24)
@IEEECompliant("compareSignalingGreaterUnordered", 24)
@IEEECompliant("compareSignalingLess", 24)
@IEEECompliant("compareSignalingLessEqual", 24)
@IEEECompliant("compareSignalingLessUnordered", 24)
@IEEECompliant("compareSignalingNotGreater", 24)
@IEEECompliant("compareSignalingNotLess", 24)
float
opCmp
(
T
)
(
auto const ref T value
)
if (
bits == 32 ||
bits == 64
||
bits == 128
)

Meta