Search found 62 matches

by stephanbrunker
Nov 03, 2013 13:07
Forum: Projects
Topic: Arbitrarily Big Integer Routines
Replies: 35
Views: 8609

Re: Arbitrarily Big Integer Routines

I found a major bug in addition: Try this: #include "Big_Integer_2.bas" dim as bigint a,b,c dim as uinteger bi a.s=chr(0,0,0,0,183,38,83,152) bi=3036098375 b=bi print " a:", show_hex(a) print " + b:", " ";show_hex(b) print "===============================...
by stephanbrunker
Nov 02, 2013 15:26
Forum: Projects
Topic: Arbitrarily Big Integer Routines
Replies: 35
Views: 8609

Re: Arbitrarily Big Integer Routines

I found one bug in the file, but otherwise it works great - and the're a few additions: - shift_right was only commented ---------- EDIT: I needed to understand the differences between two's complement and unsigned first and how this program works. So my first try was slow and buggy. For my purpose ...

Go to advanced search