[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Isnan
From: |
Andreas Enge |
Subject: |
Re: Isnan |
Date: |
Sun, 31 Jul 2016 13:06:07 +0200 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
On Sun, Jul 31, 2016 at 12:44:27PM +0200, Danny Milosavljevic wrote:
> > Apparently the "std::" is missing in front of "isnan"; should this not be
> > implicit?
> No. Many people in the C++ community frowns upon even doing "using namespace
> std" at all, never mind implicitly.
> http://stackoverflow.com/questions/1265039/using-std-namespace
> If you include math.h , isnan is called ::isnan .
> If you include cmath , isnan is called std::isnan .
Thanks for the info!
> Also, std::isnan was added with C++11, so it's a new feature. Are you
> compiling with a C++11 compiler? What are the compiler flags used?
I am just looking at the reports on hydra. Dealii compiles in master, but not
in core-updates. (I am trying to update to 8.4.1; so far, the build process
goes beyond where it fails in the current version.)
Andreas
- Isnan, Andreas Enge, 2016/07/31
- Re: Isnan, Danny Milosavljevic, 2016/07/31
- Re: Isnan,
Andreas Enge <=