A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/007967.html below:

[Python-Dev] math.rint bites the dust

[Python-Dev] math.rint bites the dust [Python-Dev] math.rint bites the dustThomas Wouters thomas@xs4all.net
Sun, 6 Aug 2000 22:25:03 +0200
On Sun, Aug 06, 2000 at 04:17:33PM -0500, Guido van Rossum wrote:

> After a brief consult with Tim, I've decided to drop math.rint() --
> it's not standard C, can't be implemented in portable C, and its
> naive (non-IEEE-754-aware) effect can easily be had in other ways.

I don't particularly disagree, since I hardly do anything with floating
point numbers, but how can something both not be implementable in portable C
*and* it's effect easily be had in other ways ?

I also recall someone who was implementing rint() on platforms that didnt
have it... Or did that idea get trashed because it wasn't portable enough ?

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!



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