News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Hyper (precision) numeric data type

Started by iZ!, October 15, 2023, 07:38:52 PM

Previous topic - Next topic

iZ!

hey all,
new version should work much faster

- optimized multiplication by another Hyper; it was calling the below mentioned routine before each Add operation
- removed unnecessary buffer-resizing statements called in a procedure prior to actual Add and Subtract operations
- slightly optimized Add and Subtract procedures themselves
- added option to skip boundary check altogether, e.g. hyp1.Add(hyp2, False)

At some point, I changed tactics - the +/- procedures now don't check the buffer's upper bound, it just flows until there's a remainder. But with new tactics came new mistakes :)