bin/53870: C++ undeclares standard math functions like isinf()
Michael van Elst
mlelstv at dev.de.cw.net
Sat Jun 28 04:10:16 PDT 2003
The following reply was made to PR bin/53870; it has been noted by GNATS.
From: Michael van Elst <mlelstv at dev.de.cw.net>
To: Artem 'Zazoobr' Ignatjev <timon at memphis.mephi.ru>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: bin/53870: C++ undeclares standard math functions like isinf()
Date: Sat, 28 Jun 2003 13:10:08 +0200
On Sat, Jun 28, 2003, Artem 'Zazoobr' Ignatjev wrote:
> > #include <cmath>
> Add:
> using namespace std;
Thanks, this helps. Can you explain why this is necessary for isinf()
but not for functions like sin() ?
The only difference seems to be that isinf() happens to implemented as
a macro (it used to be a function in FreeBSD4).
Greetings,
--
,eM""=. a"-. Michael van Elst
dWWMWM" - :GM==; mlelstv at dev.de.cw.net
:WWMWMw=--. "W=' cable & wireless
9WWMm==-.
"-Wmw-" CABLE & WIRELESS
More information about the freebsd-bugs
mailing list