A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-November/010394.html below:

[Python-Dev] Re: Revamping Python's Numeric Model

[Python-Dev] Re: Revamping Python's Numeric Model [Python-Dev] Re: Revamping Python's Numeric ModelMoshe Zadka py-dev@zadka.site.co.il
Sun, 05 Nov 2000 19:25:33 +0200
[Martin v. Loewis]
> Remind you that your model has no notion of floating-point numbers -
> then what the heck are floating-point literals? The numbers that you
> can write in a base-10 notation are all rational numbers, and the
> point doesn't really float in them...

Well, of course they are rational numbers. The only question is whether 1.0
should be inexact or exact. While that is not specified in the PEP (which
was meant for Barry to assign me a PEP number primarily...), I think
the principle of least suprise would be to treat 1.0 as inexact.
(IOW, not to promise that (1.0/3.0)*3.0 == 1.0)
-- 
Moshe Zadka <sig@zadka.site.co.il>



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4