[Libre-soc-bugs] [Bug 324] create POWER DIV pipeline
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Thu Jul 9 13:28:26 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=324
--- Comment #59 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
jacob: whoops :)
index 2dc3196..0f1a549 100644
--- a/src/nmutil/divmod.py
+++ b/src/nmutil/divmod.py
@@ -3,8 +3,11 @@
def trunc_div(n, d):
abs_n = abs(n)
abs_d = abs(d)
- abs_q = n // d
+ abs_q = abs_n // abs_d
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list