General > The Laboratory

Bignums?

(1/3) > >>

NoCforMe:
Anyone know anything about bignums?

Specifically, looking for actual implementations in assembler (or in C or some other translatable language), or even a good conceptual explanation.

Just found out about this technique. (Lets you handle numbers of any arbitrary size without being limited by the size of your registers.)

zedd151:
From dedndave "Ling Long Kai Fang Bignum to ASCII"
http://masm32.com/board/index.php?topic=222.msg978#msg978


Something like this?
A search here for "Bignum" will yield some more results


I also have 'Ascii Adder' that I used for my fibonacci generator.
http://masm32.com/board/index.php?topic=7262.msg79593#msg79593
Adds ascii decimal text strings of virtually any length (depending on amount of memory allocated of course)...

NoCforMe:
Um, maybe. Not sure that's the same thing, and not quite ready to delve into that code. But it might be that stuff.

zedd151:
What do you need it for, what data type?
And, does it have to be fast?
At any rate I think there are still a few math nerds enthusiast members heer who may be able to help.

zedd151:
a couple more links (from giggle)

A Verified Bignum implementation in x86-64 Machine Code a pdf


working-with-big-numbers-using-x86-instructions


Not sure if this might be what you are after

Navigation

[0] Message Index

[#] Next page

Go to full version