Skip to content
Snippets Groups Projects
Commit 22e3ac45 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

comment correction


Signed-off-by: default avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 8f293a8a
No related branches found
No related tags found
No related merge requests found
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
#define MAX_DECIMAL_FLOAT 1.0E+10 #define MAX_DECIMAL_FLOAT 1.0E+10
#ifndef signbit #ifndef signbit
Probably Solaris. // Probably Solaris.
Thankfully, IEEE Std 1003.1, 2004 Edition says that signbit is a macro, // Thankfully, IEEE Std 1003.1, 2004 Edition says that signbit is a macro,
hence it's safe to use ifdef. // hence it's safe to use ifdef.
#ifdef __sparc #ifdef __sparc
// Big endian // Big endian
...@@ -37,7 +37,7 @@ inline int signbitfunc(double d) ...@@ -37,7 +37,7 @@ inline int signbitfunc(double d)
} }
#else #else
Probably Intel, assume little endian // Probably Intel, assume little endian
inline int signbitfunc(double d) inline int signbitfunc(double d)
{ {
return ((unsigned char*)&d)[sizeof(double)-1] & 0x80; return ((unsigned char*)&d)[sizeof(double)-1] & 0x80;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment