delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/04/20:19:11

Date: Wed, 4 Mar 1998 17:18:41 -0800 (PST)
Message-Id: <199803050118.RAA12579@adit.ap.net>
Mime-Version: 1.0
To: fred AT genesis DOT demon DOT co DOT uk, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: trigonometry problem (math.h)

At 09:45  3/3/1998 GMT, Lawrence Kirby wrote:
>Note however that the C language does not permit a C compiler to define
>M_PI in <math.h>.

ANSI doesn't, true, but unless you compile with `-ansi' to force that, you
will indeed get M_PI defined from <math.h>.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019