projects
/
scipy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4f43dc
)
build_sh4_FE
author
Debian Python Team
<team+python@tracker.debian.org>
Sat, 18 Feb 2023 15:12:32 +0000
(15:12 +0000)
committer
Drew Parsons
<dparsons@debian.org>
Sat, 18 Feb 2023 15:12:32 +0000
(15:12 +0000)
Gbp-Pq: Name build_sh4_FE.patch
scipy/special/_round.h
patch
|
blob
|
history
diff --git
a/scipy/special/_round.h
b/scipy/special/_round.h
index e9457245b89209b729744b18d9496704859bbf16..b33427738bb1fc1efb30a48618a7e00e6685f73f 100644
(file)
--- a/
scipy/special/_round.h
+++ b/
scipy/special/_round.h
@@
-68,5
+68,12
@@
int fegetround()
#endif
+/* SH4 is not C99 compliant, see https://github.com/scipy/scipy/issues/15584 */
+#ifndef FE_UPWARD
+#define FE_UPWARD -1
+#endif
+#ifndef FE_DOWNWARD
+#define FE_DOWNWARD -1
+#endif
#endif /* _round.h */