projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update all #include directives to the currently preferred style.
[pspp-builds.git]
/
src
/
libpspp
/
float-format.c
diff --git
a/src/libpspp/float-format.c
b/src/libpspp/float-format.c
index 50a4eae6005b071e1d61320621aa424614fd2654..4ba4c9375b6efd410f5362b6e48209838e7688ab 100644
(file)
--- a/
src/libpspp/float-format.c
+++ b/
src/libpspp/float-format.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006
, 2011
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-16,18
+16,18
@@
#include <config.h>
#include <config.h>
-#include
<libpspp/float-format.h>
+#include
"libpspp/float-format.h"
+#include <byteswap.h>
#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/str.h>
+#include "libpspp/assertion.h"
+#include "libpspp/integer-format.h"
-#include "error.h"
-#include <byteswap.h>
+#include "gl/error.h"
\f
/* Neutral intermediate representation for binary floating-point numbers. */
struct fp
\f
/* Neutral intermediate representation for binary floating-point numbers. */
struct fp
@@
-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);