blob: e972c6480aa03cdcb9125f80f5ca2d124ffceb1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-scipy_special___round.h,v 1.4 2022/10/05 20:54:31 adam Exp $
SunOS fix
https://github.com/scipy/scipy/issues/9214
--- scipy/special/_round.h.orig 2018-05-05 17:10:11.000000000 +0000
+++ scipy/special/_round.h
@@ -9,6 +9,10 @@
#include "_c99compat.h"
#include "cephes/dd_idefs.h"
+#if defined(__cplusplus)
+using std::isinf;
+using std::isnan;
+#endif
double add_round_up(double a, double b)
{
|