This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Where is C++'s math.h's double abs(double)?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]