delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/09/02/17:33:34

Date: Wed, 03 Sep 2003 00:32:51 +0200
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Kbwms AT aol DOT com
Message-Id: <7458-Wed03Sep2003003251+0300-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <22.3d4f25c0.2c860f55@aol.com> (Kbwms@aol.com)
Subject: Re: <math.h> and <libm/math.h>
References: <22 DOT 3d4f25c0 DOT 2c860f55 AT aol DOT com>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Kbwms AT aol DOT com
> Date: Tue, 2 Sep 2003 11:20:53 EDT
> 
> #ifndef _POSIX_SOURCE

Some of the functions you put after this point are Posix, so should
be above _POSIX_SOURCE (j0, j1, yn, infinity, nan, scalb, etc.).

> #define M_1_PI          0.31830988618379067154          /* 1/pi         */
> #define M_2_PI          0.63661977236758134308          /* 2/pi         */

Some of these M_* macros are also Posix.

- Raw text -


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