Skip to content
Snippets Groups Projects
Commit 16d5df86 authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Shared macros between sscanf and sprintf

Rev: src/pike_float.h:1.6
parent 581d9590
No related branches found
No related tags found
No related merge requests found
/* Misc stuff for dealing with floats. /* Misc stuff for dealing with floats.
* *
* $Id: pike_float.h,v 1.5 2004/03/21 20:14:45 nilsson Exp $ * $Id: pike_float.h,v 1.6 2004/05/31 23:47:34 nilsson Exp $
*/ */
#ifndef PIKE_FLOAT_H #ifndef PIKE_FLOAT_H
...@@ -50,4 +50,17 @@ static inline int pike_isnan(double x) ...@@ -50,4 +50,17 @@ static inline int pike_isnan(double x)
#define PIKE_ISUNORDERED(X,Y) (PIKE_ISNAN(X)||PIKE_ISNAN(Y)) #define PIKE_ISUNORDERED(X,Y) (PIKE_ISNAN(X)||PIKE_ISNAN(Y))
#endif /* HAVE_ISUNORDERED */ #endif /* HAVE_ISUNORDERED */
#ifndef FLOAT_IS_IEEE_BIG
#ifndef FLOAT_IS_IEEE_LITTLE
#define NEED_CUSTOM_IEEE
#endif
#endif
#ifndef NEED_CUSTOM_IEEE
#ifndef DOUBLE_IS_IEEE_BIG
#ifndef DOUBLE_IS_IEEE_LITTLE
#define NEED_CUSTOM_IEEE
#endif
#endif
#endif
#endif /* !PIKE_FLOAT_H */ #endif /* !PIKE_FLOAT_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment