Re: e to the i pi
- From: "Fred Kleinschmidt" <fred.l.kleinmschmidt@xxxxxxxxxx>
- Date: Mon, 5 Feb 2007 19:22:14 GMT
"osmium" <r124c4u102@xxxxxxxxxxx> wrote in message
news:52pa8oF1neoriU1@xxxxxxxxxxxxxxxxxxxxx
"Fred Kleinschmidt" writes:
Aren't M_PI and M_E defined in math.h?
Thankfully, no. Only in grotesque extensions to the language made by
certain vendors.
Definitions of constants have no proper place in a programming language,
it just leads to two sets of constants, a private set, for M_AVOGADRO and
the like, and the set that came with the compiler, M_PI. and friends.
And thus we should get rid of defined constants like INT_MAX, INT_MIN, etc.,
since they have no place in a programming language.
--
Fred L. Kleinschmidt
.
- References:
- e to the i pi
- From: Lane Straatman
- Re: e to the i pi
- From: Richard Tobin
- Re: e to the i pi
- From: Fred Kleinschmidt
- e to the i pi
- Prev by Date: Re: e to the i pi
- Next by Date: Re: Safe C library [OT]
- Previous by thread: Re: e to the i pi
- Next by thread: Re: e to the i pi
- Index(es):
Relevant Pages
|