www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/14/20:02:43

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Martin Str|mberg <ams AT father DOT ludd DOT luth DOT se>
Subject: Re: Compiling problem (cmath)
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT A41 DOT 4 DOT 05 DOT 10112150117480 DOT 31440-100000 AT ieva06>
User-Agent: tin/pre-1.4-981225 ("Volcane") (UNIX) (SunOS/4.1.4 (sun4m))
Message-ID: <1008377644.733552@queeg.ludd.luth.se>
Cache-Post-Path: queeg.ludd.luth.se!unknown AT father DOT ludd DOT luth DOT se
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
Date: 15 Dec 2001 00:54:04 GMT
Lines: 15
NNTP-Posting-Date: 15 Dec 2001 00:54:04 GMT
NNTP-Posting-Host: queeg.ludd.luth.se
X-Trace: 1008377644 news.luth.se 355 130.240.16.109
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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.


Right,

						MartinS

- Raw text -


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