For bug #188449, since python floats have limited range, we multiply both floating...
authorZac Medico <zmedico@gentoo.org>
Wed, 15 Aug 2007 21:10:47 +0000 (21:10 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 15 Aug 2007 21:10:47 +0000 (21:10 -0000)
commit7627c95917f8aca8382253a7ed11a62bdc98a657
tree3943c6542603968829336a62376032a14cafaa05
parentc9b16e9d0e51401844c48cfa2d37e064e9ca4746
For bug #188449, since python floats have limited range, we multiply both floating point representations by a constant so that they are transformed into whole numbers. This allows the practically infinite range of a python int to be exploited. The multiplication is done by padding both literal strings with zeros as necessary to ensure equal length. (branches/2.1.2 r7607)

svn path=/main/branches/2.1.2.9/; revision=7620
pym/portage_versions.py