Hello,
Thanks, I have commited a patch.
> Hi,
>
> mono/utils/mono-compiler.h has incorrect trunc() definition for Visual
> Studio, causing overflow exceptions to be thrown from int->float
> conversions with negative inputs.
>
> Line 88 is:
> #define trunc(x) floor((x))
> when it should be something like:
> #define trunc(x) (((x) < 0) ? ceil((x)) : floor((x)))
>
_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list