Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2003 04:10:15 -0700 (PDT)
From:      Michael van Elst <mlelstv@dev.de.cw.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/53870: C++ undeclares standard math functions like isinf()
Message-ID:  <200306281110.h5SBAFm8028260@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/53870; it has been noted by GNATS.

From: Michael van Elst <mlelstv@dev.de.cw.net>
To: Artem 'Zazoobr' Ignatjev <timon@memphis.mephi.ru>
Cc: FreeBSD-gnats-submit@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@dev.de.cw.net
   :WWMWMw=--.          "W='  cable & wireless
    9WWMm==-.
     "-Wmw-"  CABLE & WIRELESS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306281110.h5SBAFm8028260>