> Anyone know
> a) what the pi function is called in <math.h>

I presume you mean pi constant not function.
Short answer:
M_PI for double and M_PIl (that's lowercase L on the end) for long double.

Long answer:
grep PI /usr/include/math.h
Then read the relevant comments in math.h

> b) where my standard libraries would actually be (so that I could look
> at the header myself)

Standard libraries would be in /usr/lib but the header files for standard
libraries would be in /usr/include. I presume you'd want the header files as
the libraries themselves are machine readable only. ;-)

Hope this helps,

Dave.

---
David Zverina
Alt Key Pty. Ltd.
http://www.altkey.com
PO Box 3121, Parramatta, 2124, Australia

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to