isGreater

Compares two _decimal operands. This operation is silent, no exception flags are set and no exceptions are thrown.

Return Value

Type: bool

true if the specified condition is satisfied Notes: By default, comparison operators will throw InvalidOperationException or will set the ExceptionFlags.invalidOperation context flag if a trap is not set. The equivalent functions are silent and will not throw any exception (or will not set any flag) if a NaN value is encountered.

Examples

assert(isUnordered(decimal32.nan, decimal64.max));
assert(isGreater(decimal32.infinity, decimal128.max));
assert(isGreaterOrEqual(decimal32.infinity, decimal64.infinity));
assert(isLess(decimal64.max, decimal128.max));
assert(isLessOrEqual(decimal32.min_normal, decimal32.min_normal));

Meta