<jimmy.musselwhite <at> gmail.com> writes: > The calculation looks like this > > A = 0.35 > T = 0.30 > C = 0.25 > G = 0.10 > > and then I basically continually multiply those numbers together. I > need to do it like 200,000+ times but that's nuts. I can't even do it > 1000 times or the number rounds off to 0.0. I tried taking the inverse > of these numbers as I go but then it just shoots up to "inf".
I suggest you add the logarithm of those numbers. Stéphane -- http://mail.python.org/mailman/listinfo/python-list