[Mono-list] One line fix to sysmath.c

Dan Lewis dihlewis@yahoo.co.uk
19 Mar 2002 10:24:03 +0000


Doh! Apologies to all for the inconvenience. I guess I should try
building on both Linux and Windows before checking in.

Thanks for the patch, Richard.

Dan.


On Tue, 2002-03-19 at 08:17, Richard Torkar wrote:
> --- mono/mono/metadata/sysmath.c        Tue Mar 19 02:31:44 2002
> +++ sysmath.c   Tue Mar 19 08:02:32 2002
> @@ -110,7 +110,7 @@
>  ves_icall_System_Math_Sqrt (gdouble x)
>  {
>         if (x < 0)
> -               return NAN;
> +               return MONO_NAN;
> 
>         return sqrt (x);
>  }
> 
> 
> Please apply
> 
> /Richard



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com