[Mono-devel-list] A patch for Math.cs

Ben Maurer bmaurer at users.sourceforge.net
Tue May 27 00:03:47 EDT 2003


Philip,

I think those should be implemented as internal calls, as they are
things that normally we would inline. Especially BigMul, which nickd has
spent so much effort optimizing.

Can a runtime person take a look at getting this done? /me eyes nickd

In the meantime, feel free to check in your code, it is fine with me.

-- Ben

On Wed, 2003-05-21 at 20:16, Philip Van Hoof wrote:
> Hey Bob and Dan,
> 
> I am sending you guys this E-mail because you are the authors of Monos
> Math.cs-file.
> 
> This patch adds the MS.NET 1.1-methods :
> 
> #ifdef NET_1_1
>   Math.BigMul (int a, int b)
>   Math.DivRem (int a, int b, out int result)
>   Math.DivRem (long a, long b, out long result)
> #endif
> 
> As comments that one of you added say, it is probably true that those
> methods are not implemented in MS.NET 1.0. However, it looks like they
> are implemented in MS.NET 1.1. So I removed the comment-tags and added
> the #ifdef NET_1_1 thingy.
> 
> 
> ps. I've put mono-devel-list in the CC



More information about the Mono-devel-list mailing list