View Single Post
Old January 5th, 2020, 04:20 PM   #11
Lifetime Supporting Member
United States

drbitboy is offline
drbitboy's Avatar
Join Date: Dec 2019
Location: Rochester, NY
Posts: 790
Originally Posted by Gene Bond View Post
Since I'm old enough to have learned Physics on a slide rule, and programming was strictly done with Integers a decade later... Then the 'Pentium Math Bug' hit the news to show that Floating Point / Real Number math had a basic flaw, I learned not to trust any Floating Point math without a 'Sanity Check'...

I still use Integers for 99% of my programming, and imply the decimal places with Tag Names like PSI_X100
Yes, well, my slide rule that my Dad gave me is over 22" long*, so if we are going to start unzipping and measuring ...

The point of the original post is that the program WAS using INTEGERs in the multiplication, but the emulator apparently overrides that for 16-bit INTEGERSs; with 32-LONGs the results are correct.

* and good to three sig figs, could I but find the dang cursor - "for want of a cursor the Least SigFig was lost ..."

Last edited by drbitboy; January 5th, 2020 at 04:21 PM. Reason: typo fix
  Reply With Quote