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/2001-January/011404.html below:

[Python-Dev] Std tests failing, Windows: test_builtin test_charmapcodec test_pow

[Python-Dev] Std tests failing, Windows: test_builtin test_charmapcodec test_powNeil Schemenauer nas@arctrix.com
Sun, 7 Jan 2001 15:52:38 -0800
On Sun, Jan 07, 2001 at 03:29:14PM -0800, Neil Schemenauer wrote:
> I don't know how test_pow was passing under Linux.

Under Linux with the buggy float_pow:

    >>> pow(10.0, 0, 10)
    nan
    >>> pow(10.0, 0, 10) == 1
    1
    >>> pow(10.0, 0, 10) == 0
    1

Under Windows NAN obviously behaves differently.

  floating-point-is-fun-ly y'rs 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