[Mono-list] Can there be a problem with System.Math.Max?

Paolo Molaro lupus at ximian.com
Tue Jul 3 13:44:04 EDT 2007


On 07/03/07 Maser, Dan wrote:
>   I updated to the latest SVN code this morning and noticed that the
> following code   
>    
> 
> int a = 100;
> int b = -2147483647;
> System.Console.WriteLine(String.Format("Math.Max(a, b) is {0}",
> Math.Max(a, b)));

Fixed in svn.
Thanks!

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better


More information about the Mono-list mailing list