[Mono-list] -- Math.cs --

dietmar dietmar@ximian.com
03 Feb 2003 13:07:19 +0100


On Sun, 2003-02-02 at 09:42, yoros@wanadoo.es wrote:
> Hi,
> 
> Here are the final files that I got. I think that the Math performance
> is good and that the results are the most accurate that can be with
> "libm" because MS.NET are using another kind of numerical algorithms.
> 
> I changed the following files:
> 
>         mcs/class/corlib/System/Math.cs
>         mono/mono/metadata/icall.c
>         mono/mono/metadata/sysmath.h
>         mono/mono/metadata/sysmath.c
> 
> With this mail, there is the changelog file for Math.cs (please, be
> careful with the "tildes").

Do you have some test cases to test the behavior? We usually add simple
tests to mono/mono/tests. Such regression tests are really helpful and
makes sure that we stay compatible with the MS jit.

- Dietmar