Hi there,
I'am more a Java guy than a C/C++ or Objective-C but I'm giving a try
at the latter...
I was wondering if there were a class like NSMath or an objective-C
equivalent to the
java.lang.Math class where all the math constants and functions reside.
I remember from school the <math.h> header from the standard C library
but I can't find constant
definition or macros for PI, e, ...
Are they declared/defined somewhere or do I have to do it myself somewhere ?
Thanks for your helps
Brieuc
Frédéric Testuz - 12 Oct 2005 06:39 GMT
<Brieuc> wrote:
> Hi there,
>
[quoted text clipped - 10 lines]
>
> Are they declared/defined somewhere or do I have to do it myself somewhere ?
Open /usr/include/math.h and follow the #include statement. In my case I
found all you want in /usr/include/architecture/ppc/math.h.

Signature
Frédéric Testuz
<mailto:ftestuz@SANSPUBmac.com.invalid>