-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Package: python3.4
Version: 3.4.3-5
Severity: normal

Dear Maintainer,

the floating point math of Python 3.4.3 and Python 2.7.9 is a bit
unprecise:

python3
Python 3.4.3 (default, Apr 30 2015, 12:12:54) 
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 9.0+9.3+96.19+62.0+500.0+75.0+9.0+26.90+9.8+107.24+62.0+75.0
1041.4299999999998
>>> 

python
Python 2.7.9 (default, Apr 29 2015, 18:34:06) 
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 9.0+9.3+96.19+62.0+500.0+75.0+9.0+26.90+9.8+107.24+62.0+75.0
1041.4299999999998
>>> 

The correct result is 1041.43.


With best regards,
Julian Wollrath

- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.6 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3.4 depends on:
ii  libpython3.4-stdlib  3.4.3-5
ii  mime-support         3.58
ii  python3.4-minimal    3.4.3-5

python3.4 recommends no packages.

Versions of packages python3.4 suggests:
ii  binutils        2.25-7
ii  python3.4-doc   3.4.3-5
pn  python3.4-venv  <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJVQ5GeAAoJEFl2dmpRMS8z05MH/1LTOB2KAhOsSfulNOl9+NYM
OTyjodvIDlOZdYgP6Op8/meuNwSlWYACF+CYRp13iAr3CRcTl4aapbv31FSa4/yF
rr95X2UGv2+qfz+9GQdzJohj3jsWaerFhyNPR/NMmNgvhgMn4zk5h4RW/8buA3NV
yXMrNMyqz3t6F9Lya190frw0Yw1x3tIxegyBdo0zIsXLuEcXfzlbiriFgkhPNboO
IqZwNZTHCqTfJ33uIKO3d7StwJ4b6yKQ/eGLPP8hbfv3ZbnkiJUlowDU5kWSTpfW
GW4vcITAuf5EeQl5jKtPDMU6r5m5cquzv8XvH8uBoXkQU7tb2LXQ32qapLLgloM=
=Kdwi
-----END PGP SIGNATURE-----

Reply via email to