Quote:
|
Looong can add and subtact integers of over a thousand bytes, it would be straightforward to change the max length, it builds them up by multiplying unsigned longs each with an exponent and it is used by Rational to factorize the results. Instead of giving Looong full arithmetic, Rational has it but this implies the sometimes heavy factoring after algebric sums with the limit on prime factors.
|
what i'm writing can add over 3 billion digit long numbers, but again, so far its only capable of adding 2 positive integers with no floatpoints, cant do much else, but when i get time to start working on it again i hope to get it to multiply (not by adding the values over and over and over again), subtract and divide as well as finding the modulus (pain, if you have some kind of an algorithm, please i'll be looking for it eventually) and do exponentiation (not via multiplication (also need a mathemagical solution, maybe some base shifting math exponentiation craziness))... eventually hoping to come up with something that will do RSA encryption the way that it was intended to be done (with really really large numbers), really stinks that bc does not accept input from the command line, bc is so awesome...)
----------------
Microsoft, the leader in using innovative tactics to promote irksome experience, coupled with antiquated technology that's held together by a pyramid of makeshift afterthoughts.
Apple, the leader in using irksome tactics to promote innovative experience, coupled with an antiquated core that's enhanced by state-of-the-art afterthoughts.
Linux, the leader in not using any tactics to promote user-defined experience, coupled with state-of-the-art core enhanced by innovative afterthoughts.
