projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use standard C99 isfinite, isnan, isinf in place of GSL substitutes.
[pspp]
/
src
/
data
/
por-file-writer.c
diff --git
a/src/data/por-file-writer.c
b/src/data/por-file-writer.c
index 75022ea7f6d8b924d72112e198b59d677c79e3a0..8a27f6b785ccc548d5a14436cfe221ee7476d3e6 100644
(file)
--- a/
src/data/por-file-writer.c
+++ b/
src/data/por-file-writer.c
@@
-20,7
+20,6
@@
#include <ctype.h>
#include <errno.h>
#include <float.h>
#include <ctype.h>
#include <errno.h>
#include <float.h>
-#include <gsl/gsl_math.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
@@
-778,7
+777,7
@@
format_trig_double (long double value, int base_10_precision, char output[])
0...30**6, an invariant of the loop below. */
errno = 0;
base_2_sig = frexp (value, &base_2_exp);
0...30**6, an invariant of the loop below. */
errno = 0;
base_2_sig = frexp (value, &base_2_exp);
- if (errno != 0 || !
gsl_
finite (base_2_sig))
+ if (errno != 0 || !
is
finite (base_2_sig))
goto missing_value;
if (base_2_exp == 0 && base_2_sig == 0.)
goto zero;
goto missing_value;
if (base_2_exp == 0 && base_2_sig == 0.)
goto zero;