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/2003-February/033051.html below:

[Python-Dev] FixedPoint and % specifiers.

[Python-Dev] FixedPoint and % specifiers. [Python-Dev] FixedPoint and % specifiers.Neil Schemenauer nas@python.ca
Wed, 5 Feb 2003 17:33:55 -0800
Tim Peters wrote:
> I sure wouldn't <wink>.  Note that use of %f ends up calling
> FixedPoint.__float__(), though, and so sucks users right back into binary fp
> surprises:

Perhaps FixedPoint should not have a __float__ method.  Instead it could
have something like as_float().  That would give people a clue they are
getting into trouble.

  Neil



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