projects
/
scipy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbb5e29
)
build_sh4_FE
author
Debian Python Team
<team+python@tracker.debian.org>
Thu, 19 Jan 2023 13:54:51 +0000
(13:54 +0000)
committer
Drew Parsons
<dparsons@debian.org>
Thu, 19 Jan 2023 13:54:51 +0000
(13:54 +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 013a25620e65b1035c2b6d4f399fe7f5d770e862..c321a19398514c1a26f9aa38397fa3ee8c46e444 100644
(file)
--- a/
scipy/special/_round.h
+++ b/
scipy/special/_round.h
@@
-69,5
+69,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 */