This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Where is C++'s math.h's double abs(double)?
- To: Steven King <sxking at uswest dot net>
- Subject: Re: Where is C++'s math.h's double abs(double)?
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 03 Apr 2001 07:52:20 +0200
- Cc: "Benjamin Kosnik" <bkoz at redhat dot com>, libstdc++ at gcc dot gnu dot org
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <Pine.SOL.3.91.1010402184731.456A-100000@cse.cygnus.com> <01040221180001.11306@rigel>
Steven King <sxking@uswest.net> writes:
| On Monday 02 April 2001 6:48, Benjamin Kosnik wrote:
| > I don't know.
| >
| > How about that? It seems odd to me to have a math.h supplied with
| > libstdc++-v3 that differs from /usr/include/math.h
| >
| > Can someoby check around and see what various other compiler/library
| > vendors do?
|
| According to their online docs, it looks like dinkumware's math.h declares
| double abs(double);
|
| http://www.dinkumware.com/htm_cpl/math.html
But their implementation isn't what I'll call a reference
implementation; it contains many things which aren't standard. Sorry.
-- Gaby