Question 14.8

The pre-#defined constant M_PI seems to be missing from my machine's copy of <math.h>.


That constant (which is apparently supposed to be the value of pi, accurate to the machine's precision), is not standard. If you need pi, you'll have to #define it yourself.

References: PCS Sec. 13 p. 237


Read sequentially: prev next up top


This page by Steve Summit // Copyright 1995 // mail feedback