Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74208
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.068 |
| X-Spam-Evidence | '*H*': 0.87; '*S*': 0.01; 'interpreter': 0.05; 'raises': 0.09; 'creates': 0.14; 'raised.': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'module': 0.19; 'example': 0.22; 'math': 0.24; 'header:In-Reply-To:1': 0.27; 'appear': 0.29; 'raise': 0.29; 'is?': 0.30; 'message-id:@mail.gmail.com': 0.30; 'exceptions': 0.31; 'created': 0.35; 'received:google.com': 0.35; 'returning': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'jul': 0.74; 'subject:For': 0.78; 'computation,': 0.84; 'ethan': 0.84; 'furman': 0.84 |
| 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=Q3o4K/ShGojoC7r3rBBjhqf2D5EkQz254/TiMBIqv5E=; b=PvOYTjX7P6RynAIP31wqiHbPDAg/poVdu8erD+WPsWzaOwlK5d+dNtEvobD4AtYndb eYc2bxwq/PKkuV7Y+7wH3ds/N0PhVj9Nf0SlP66OvU9bVU5+s5om8OADMBcTxniAIo+i /8JS6NIZZ5ZMLBbggzVZuRStHxn2BIabMc8TgI5d6U78HZXY5BQ+Z5wKlqgXeCJ32sw4 5lFB53QLa0UvgJvzfSXVUPVjqUHAQ+3dQ/Ldu8u4jOAHgDP1SJzpgJXdhrX62fsV+u7j KouDckw68ERsMeo2IacSmk4kWcriWayepmN5balYVVr82D4TC+nOosTFBVVm+xV9rwTQ vONw== |
| X-Received | by 10.68.189.137 with SMTP id gi9mr27145600pbc.79.1404849047447; Tue, 08 Jul 2014 12:50:47 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <53BC439F.7020502@stoneleaf.us> |
| References | <53BC05FB.4050707@jmunch.dk> <53BC2BA0.3050500@stoneleaf.us> <53BC40AF.50407@jmunch.dk> <53BC439F.7020502@stoneleaf.us> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Tue, 8 Jul 2014 13:50:06 -0600 |
| Subject | Re: NaN comparisons - Call For Anecdotes |
| 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.11659.1404849056.18130.python-list@python.org> (permalink) |
| Lines | 11 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1404849056 news.xs4all.nl 2970 [2001:888:2000:d::a6]:47818 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:74208 |
Show key headers only | View raw
On Tue, Jul 8, 2014 at 1:16 PM, Ethan Furman <ethan@stoneleaf.us> wrote: > What you said is: "They just don't appear in normal computation, because the > > interpreter raises an exception instead." > > I just ran a calculation that created a NaN, the same as 4 - 3 creates a 1, > and no exception was raised. > > Do you have an example where one is? The math module functions raise exceptions instead of returning NaN.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: NaN comparisons - Call For Anecdotes Ian Kelly <ian.g.kelly@gmail.com> - 2014-07-08 13:50 -0600 Re: NaN comparisons - Call For Anecdotes Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-07-09 01:00 +0000
csiph-web