Decimal.opEquals

bool opEquals(const typeof(this) rhs) const @safe pure nothrow @nogc

Numerical equality: trailing zeros, ±0 and NaN per IEEE (NaN unequal to everything, including itself).