[Mono-list] Small typing error in System.Decimal
Tomas Kukol
tomas.kukol at gmail.com
Fri Sep 23 08:07:05 EDT 2005
Hi folks.
I found small typing error in mcs/class/corlib/System/Decimal.cs in
Divide function. You should check in the second condition, if d1 is
zero, not d2.
I am sending you diff between new and bad version created by the command:
diff Decimal_good.cs Decimal_bad.cs
605c605
< if (d1.IsZero ())
---
> if (d2.IsZero ())
Regards
Tomas Kukol
More information about the Mono-list
mailing list