[Mono-dev] [PATCH] Math.Truncate

Jb Evain mono at evain.net
Tue Jun 20 11:49:54 EDT 2006


Hi,

Here is a new version of the patch that is more correct.
It includes tests as well.

Jb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: truncate.patch
Type: application/octet-stream
Size: 2096 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060620/4fcc119b/attachment.obj 
-------------- next part --------------
On Jun 20, 2006, at 2:15 PM, Zoltan Varga wrote:

>                           Hi,
>
>   I'm no math expert, but truncation is most likely not the same as  
> rounding,
> so this patch would probably lead to hard to track down errors later.
>
>              Zoltan
>
> On 6/20/06, Jb Evain <mono at evain.net> wrote:
>> Hello,
>>
>> This patch implements the new methods Math.Truncate.
>> Is it ok?
>>
>> Jb
>>
>>
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>>
>>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list