Monday, April 7, 2014

Long integer arithmetic!

The quants that make up the universe is a 2000 digit number, but I need to compute fractions, up to 32 bits of fraction between the points.  That is why I compute in a twos bit system with up toe 8096 bits.  It is in these gape between quants where we find out about charge, stability, spin, and that stuff.

How to compute a 4096 bit number? These are only the fractions between quants, seldom more than 16 bits. So I pre-compute these gaps  as small integers integers when loading the quant table. The quantizer never looks beyond the previous, or next of the main quants, and so the fraction component relative to any quant is easily done. So that headache is gone! That is about the last issue I was dealing with.

No comments: