[Mono-list] Math precision.

Tyson Dowd trd@cs.mu.oz.au
Fri, 20 Jul 2001 15:51:55 +0200

On 19-Jul-2001, Miguel de Icaza <miguel@ximian.com> wrote:
> > Ok. I've used P/Invoke. The math class is now complete with a few
> > exceptions. It needs to be tested alot, I'll write some nunit tests
> > soon, I'm not sure which Dll to import. Problem is, the math functions
> > can be in different libs on different platforms. How are we to deal with
> > this?
> Math functions are always on `libm' for Unix systems.  I am not sure
> what is used on Windows these days (crt.lib?)

MacOs X doesn't use libm (I think it's all in libc). 
At least, we had to add special code to handle this in the Mercury
compiler on beta versions of MacOs X.