pike.git/
src/
encode.c
Branch:
Tag:
Non-build tags
All tags
No tags
2016-01-10
2016-01-10 21:42:03 by Martin Nilsson <nilsson@fastmail.com>
cf69bf2889d3adc7be95e66db49468d2f610e7ff (
11
lines) (+
5
/-
6
)
[
Show
|
Annotate
]
Branch:
8.1
Fix warnings.
31:
#include "peep.h" #include "pike_compiler.h" #include "bitvector.h"
+
#include "pike_float.h"
/* #define ENCODE_DEBUG */
652:
int pike_ftype=Pike_FP_UNKNOWN; if(PIKE_ISINF(d)) pike_ftype=Pike_FP_PINF;
-
else
+
#ifdef HAVE_ISNAN
-
if(isnan(d))
+
else
if(isnan(d))
pike_ftype=Pike_FP_SNAN;
-
else
+
#endif #ifdef HAVE_ISZERO
-
if(iszero(d))
+
else
if(iszero(d))
pike_ftype=Pike_FP_PZERO; #endif
-
; /* Terminate any remaining else */
+
if( #ifdef HAVE_SIGNBIT