Commit 5cba9ce2 authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Fixed signbit declaration in C++11 (bug 539612)



Change-Id: I05c4f741b4869f8e080130a0d1edac73adadd035
Signed-off-by: Botond Baranyi's avatarBotond Baranyi <botond.baranyi@ericsson.com>
parent 8aab3754
......@@ -23,6 +23,8 @@
are displayed in exponential notation. */
#define MAX_DECIMAL_FLOAT 1.0E+10
#if __clpusplus < 201103L // signbit is a function in C++11, not a macro
#ifndef signbit
// Probably Solaris.
// Thankfully, IEEE Std 1003.1, 2004 Edition says that signbit is a macro,
......@@ -49,6 +51,8 @@ inline int signbitfunc(double d)
#endif // def signbit
#endif // __clpusplus < 201103L
/** A class which behaves almost, but not quite, entirely unlike
* a floating-point value.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment