private Equal ( BinaryOpStorage equals, decimal self, object other ) : bool | ||
equals | BinaryOpStorage | |
self | decimal | |
other | object | |
return | bool |
public static bool Equal(BinaryOpStorage/*!*/ equals, decimal self, object other) {
if (other is decimal) {
return self == (decimal)other;
}
// Call == on the right operand like Float#== does
return Protocols.IsEqual(equals, other, self);
}
DecimalOps::Equal ( decimal self, double other ) : bool |