Re: Math question
Re: Math question
- Subject: Re: Math question
- From: Finlay Dobbie <email@hidden>
- Date: Wed, 5 Sep 2001 07:24:49 +0100
On Wednesday, September 5, 2001, at 04:14 am, Enrique Zamudio wrote:
You can use some C math library, like libm that comes with OS X. It has
functions for sines, cosines, exponentials, logarithms, square roots,
rounding, etc.
It's in /usr/lib/libm.dylib (so it's a dynamic library, not a static
one).
Note that libm.dylib is a symlink to libSystem.dylib, that is there for
compatibility. Since everything has to link against libSystem, you don't
need to explicitly link against libm :-)
-- Finlay