Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #83970

Re: numpy.allclose()

Path csiph.com!usenet.pasdenom.info!news.franciliens.net!news.muarf.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.060
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'subject:()': 0.09; 'jan': 0.12; "wouldn't": 0.14; 'posted': 0.15; 'c/c++': 0.16; 'guessing': 0.16; 'programmers,': 0.16; 'sat,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'written': 0.21; 'sort': 0.25; 'second': 0.26; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'unix': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; "d'aprano": 0.31; 'steven': 0.31; 'received:google.com': 0.35; 'dates': 0.36; 'in.': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'most': 0.60; 'back': 0.62; '2015': 0.84; 'journal': 0.84; 'mindset': 0.84; 'subject:skip:n 10': 0.84; 'notable': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=CyPRE/bUw+hYnUEx4BhJTX1UCu5SaY5ArFqd12hWFv0=; b=tJ5MI+Dlmpw6nto+isK8JasApdctvasSpp2B+S5NqdckgDIcwxJ3EFjSIZ2ubxCQaA W/oDRiWkiSR5KMPnjk/e/ehKKjgsfJIaWKkhQsst48cBIXqfvanP04nTRggyP/PhKrfh J773O7yhNW8bE+MeGlxTIZIB+74IxlRC1fZQVZLCiCXHzH2fY8h4DvswUi6+Qzp2lzCN TLStQ+Q/H7rNOXVZQpL+VkfoMLuNW9M49Ofdbh7grdpi2VYHqQlyxKpxmPbrxNYCitQh Tc+b6DtPUhOxr+OuS4UFm5nClFGr+byj/QH0TB1mWK+HYWvh2S6gQhMT2VbThFJoWpKo ZUgQ==
X-Received by 10.70.90.100 with SMTP id bv4mr25730292pdb.29.1421569495101; Sun, 18 Jan 2015 00:24:55 -0800 (PST)
MIME-Version 1.0
In-Reply-To <54bb2407$0$13002$c3e8da3$5496439d@news.astraweb.com>
References <54ba7113$0$12985$c3e8da3$5496439d@news.astraweb.com> <mailman.17816.1421520205.18130.python-list@python.org> <54bb2407$0$13002$c3e8da3$5496439d@news.astraweb.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Sun, 18 Jan 2015 01:24:14 -0700
Subject Re: numpy.allclose()
To Python <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.17826.1421569503.18130.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1421569503 news.xs4all.nl 2952 [2001:888:2000:d::a6]:41786
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:83970

Show key headers only | View raw


On Sat, Jan 17, 2015 at 8:09 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> I'm guessing that can only have come from the mindset of C/C++ programmers,
> where this sort of thing is considered acceptable:

Maybe. The journal reference in the second link I posted dates the
practice back to at least 1975, a time predating K&R C, when it was
most notable as the language that Unix was written in. I wouldn't be
surprised if this actually originated from Fortran.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

numpy.allclose() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-18 01:26 +1100
  Re: numpy.allclose() Ian Kelly <ian.g.kelly@gmail.com> - 2015-01-17 11:42 -0700
    Re: numpy.allclose() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-18 14:09 +1100
      Re: numpy.allclose() Ian Kelly <ian.g.kelly@gmail.com> - 2015-01-18 01:24 -0700
        Re: numpy.allclose() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-18 21:25 +1100

csiph-web