make truediv available to pseudocode
authorJacob Lifshay <programmerjake@gmail.com>
Fri, 12 May 2023 06:44:51 +0000 (23:44 -0700)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 2 Jun 2023 18:51:18 +0000 (19:51 +0100)
commit5d0260dfde389440fadf147937df861ce946ff70
tree52961cf53cfe3d1b1437450159e441a4ca92c88f
parent7f79e6bf06fb1044caad9f76d14b09a1d107a142
make truediv available to pseudocode

technically `/` in pseudocode is supposed to be real number division,
with `รท` being division with result truncated to integer, however
luke decided to just use `/` for integer division in pseudocode,
so we need a way to work around that.
src/openpower/decoder/helpers.py