[Ohrrpgce] SVN: teeemcee/9070 Add "multdiv" command to calculate int(float(a)*b/c) with clamping. Undo
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Tue Jul 25 07:18:48 PDT 2017
teeemcee
2017-07-25 07:18:48 -0700 (Tue, 25 Jul 2017)
202
Add "multdiv" command to calculate int(float(a)*b/c) with clamping. Undocumented.
Doing this calculation using signed 32 bit integers without overflowing is
horribly complicated, so I decided to cheat.
---
U wip/const.bi
U wip/hamsterspeak.hsd
U wip/moresubs.rbas
U wip/node_hsint.js
U wip/plotscr.hsd
U wip/scriptcommands.bas
U wip/testgame/hstests.hss
More information about the Ohrrpgce
mailing list