projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Marked CORRELATIONS and PEARSON CORRELATIONS as unimplemented.
[pspp]
/
src
/
libpspp
/
float-format.c
diff --git
a/src/libpspp/float-format.c
b/src/libpspp/float-format.c
index 50a4eae6005b071e1d61320621aa424614fd2654..0450dbeacc1d2573f35230b611a93db12b6ea7bd 100644
(file)
--- a/
src/libpspp/float-format.c
+++ b/
src/libpspp/float-format.c
@@
-21,10
+21,10
@@
#include <ctype.h>
#include <inttypes.h>
#include <stdlib.h>
#include <ctype.h>
#include <inttypes.h>
#include <stdlib.h>
+#include <string.h>
#include <libpspp/assertion.h>
#include <libpspp/integer-format.h>
#include <libpspp/assertion.h>
#include <libpspp/integer-format.h>
-#include <libpspp/str.h>
#include "error.h"
#include <byteswap.h>
#include "error.h"
#include <byteswap.h>
@@
-695,7
+695,7
@@
assemble_number (enum float_format type, struct fp *fp, void *number)
break;
case FLOAT_Z_SHORT:
break;
case FLOAT_Z_SHORT:
- put_uint
64
(native_to_be32 (assemble_z (fp, 7, 24)), number);
+ put_uint
32
(native_to_be32 (assemble_z (fp, 7, 24)), number);
break;
case FLOAT_Z_LONG:
put_uint64 (native_to_be64 (assemble_z (fp, 7, 56)), number);
break;
case FLOAT_Z_LONG:
put_uint64 (native_to_be64 (assemble_z (fp, 7, 56)), number);