www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/15/04:14:01

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Sat, 15 Dec 2001 10:52:52 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
X-Sender: pavenis AT ieva06
To: Martin Str|mberg <ams AT father DOT ludd DOT luth DOT se>
Cc: djgpp AT delorie DOT com
Subject: Re: Compiling problem (cmath)
In-Reply-To: <1008377644.733552@queeg.ludd.luth.se>
Message-ID: <Pine.A41.4.05.10112151052290.23332-100000@ieva06>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On 15 Dec 2001, Martin Str|mberg wrote:

> Andris Pavenis <pavenis AT lanet DOT lv> wrote:
> : acosf and similar functions are excluded from math.h by specifying -ansi.
> : Should it be so? There were not in earlier updates of C standard but how
> : it is now? 
> 
> Yes, the standard says:
> "	#include <math.h>
> 	double acos(double x);
> 	float acosf(float x);
> 	long double acosl(long double x);" in section 7.12.4.1.
> 

So perhaps it should be fixed in math.h

Andris




- Raw text -


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