python-quantities-developers team mailing list archive
-
python-quantities-developers team
-
Mailing list archive
-
Message #00119
[Bug 311499] Re: division for compound units not working properly
** Changed in: python-quantities
Status: Fix Committed => Fix Released
--
division for compound units not working properly
https://bugs.launchpad.net/bugs/311499
You received this bug notification because you are a member of Python
Quantities Development Team, which is subscribed to python-quantities.
Status in Physical Quantities for Python: Fix Released
Bug description:
These two should be the same, but they are not
>>>(5.2 * eV) / (400.0 * eV)
Quantity(0.013000000000000001), (J)^2
>>>(1.0 * J ) / ( 5.3 * J)
Quantity(0.18867924528301888), (dimensionless)