- Add workaround for lack of extended-precision, from martynas@. Fixes the build. XXX - to be removed later.
14 lines
362 B
Plaintext
14 lines
362 B
Plaintext
$OpenBSD: patch-gsl_math_h,v 1.1 2008/07/29 00:17:01 sthen Exp $
|
|
--- gsl_math.h.orig Sun Jun 26 16:25:34 2005
|
|
+++ gsl_math.h Sat Jul 26 16:45:05 2008
|
|
@@ -107,6 +107,9 @@
|
|
|
|
__BEGIN_DECLS
|
|
|
|
+/* we don't have extended-precision yet */
|
|
+#define __isnanl(e) (__isnan((double)e))
|
|
+
|
|
/* other needlessly compulsive abstractions */
|
|
|
|
#define GSL_IS_ODD(n) ((n) & 1)
|