From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 180 invoked by alias); 10 Feb 2018 00:11:06 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 42357 Received: (qmail 52 invoked by uid 1010); 10 Feb 2018 00:11:06 -0000 X-Qmail-Scanner-Diagnostics: from mail-lf0-f47.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.215.47):SA:0(-1.9/5.0):. Processed in 1.575617 secs); 10 Feb 2018 00:11:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=JIPVG/JL79Edjz0FWV1kVJB0ygZ/cDi635oomGYvcuA=; b=vhqrBB6ax9SIqyx392i0hQ1es7TTTKUN7K9AF/DH8sto4kLAVtdnPUGp98+yusI4PZ N9rQbGOiWu/8x9zCKnUpVGVSiFvxkXYNXHeEPcUagCvgJknN5z+AD1isJ/cMdnbi8PLK ELc24f0wGyKR6OwHoJRU65GS6dtbqmJx/51YgrWrurrtreoZu72rMJ1lIQfq4l/S2vdN pBgw1P5O6HHS0zgeJ5Kdv6HgmEEi108EJYDn+sVKZHv1RUCQan4taw+dnCzaWWKdsHdn ivIPHtiaySAzgXQsqa+aNE7ja/lpM1TjPmqpT/O8TMyplmZZfXP2N8J5LFDfq7xpGNta BG4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=JIPVG/JL79Edjz0FWV1kVJB0ygZ/cDi635oomGYvcuA=; b=BUKooC2wwDD33YmentcAvNI/g3zH/0QfmRv+kWyLUBASNdALfchlpv2C1m0SLpQgTO EqLyTtODIDf6TIe28WYk/KKqUlblBLBNxZnXinu7s0SnAdioW3SRBrJ3AGa/xXNnQDHG IEn7kN/sJZQt1BQkdUueLfqnr63NIEgtiU4cwrilNFmYyXiEtxELMc8Sm6en3ZacRoBg iOAxk+uiY7HkhA6Wj5VoG94zZeU7jejoMKnuT0gzFwPgZFvhZHWmLUfP0E7mO1jz6tR8 HY6z9SLGUc+HqOTZy5n0sJ4Xe/T595xot2yB/4rBR4qRujEUn8mdnA6yV2OJj/BB2rY2 vouw== X-Gm-Message-State: APf1xPBElBikp+Gj6rRHGQG2S6RFZlfd1NJcIBp+BIb9GkvO8toVbW8B nW+HnqNdeO+4rEsZTT+FjotfQmqU7gJfYO/kOSo9fw== X-Google-Smtp-Source: AH8x227ba210y+HPymv0peeQsvH0ZQlgn+7r3o0Qt/CpvSOTZVnNrpm6R2xaHeguyaNwcYgciuCdb8iPFaJZjfpC5ng= X-Received: by 10.25.125.3 with SMTP id y3mr3015996lfc.32.1518221459707; Fri, 09 Feb 2018 16:10:59 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20180209210948.GA27566@chaz.gmail.com> References: <20180207223051.GA30393@chaz.gmail.com> <4253.1518045946@thecus.kiddle.eu> <1518093995.645366.1263935336.265ED7BF@webmail.messagingengine.com> <20180208142211.GA14888@chaz.gmail.com> <1518190272.2338601.1265377152.605E16CD@webmail.messagingengine.com> <20180209210948.GA27566@chaz.gmail.com> From: Bart Schaefer Date: Fri, 9 Feb 2018 16:10:59 -0800 Message-ID: Subject: Re: inf and nan in arithmetic expansions To: "zsh-workers@zsh.org" Content-Type: text/plain; charset="UTF-8" On Fri, Feb 9, 2018 at 1:09 PM, Stephane Chazelas wrote: > It seems to me that > ksh93's approach at just treating "inf" and "nan" as literral > constants representing their value like in C would be enough Agree. We could also recognize "inf." and "nan." as constants so that any scripts that explicitly compare for those wouldn't break, but I have no argument with not generating the trailing dot on output.