Skip to content

Commit

Permalink
Make signbit() call compile with IBM C++ compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Sep 13, 2012
1 parent 84338f2 commit 9282b77
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -70,7 +70,8 @@ KRANC_WHERE static inline int isgn(CCTK_REAL x)
{
if (x == (CCTK_REAL)0.0) return 0;
#ifdef __cplusplus
int s = std::signbit(x);
using namespace std;
int s = signbit(x);
#else
int s = signbit(x);
#endif
Expand Down

0 comments on commit 9282b77

Please sign in to comment.