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


Groups > comp.lang.javascript > #34956

Re: x>y

Path csiph.com!news.mixmin.net!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: x>y
Date Tue, 1 May 2018 13:32:25 +0200
Organization solani.org
Lines 18
Message-ID <pc9j87$n9s$1@solani.org> (permalink)
References <larger-20180501121113@ram.dialup.fu-berlin.de>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace solani.org 1525174343 23868 eJwNzMkRACEIBMCUuGZcwgGV/ENY/10Np3KvIBgYjIiu02lMiI8yPs/wtKkj7OAp7M5KK11YC3U5PU/e3nH8LWLQ2mx+ZbGherMQ5imu2j9WmR0g (1 May 2018 11:32:23 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Tue, 1 May 2018 11:32:23 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
X-NNTP-Posting-Host eJwFwQkBwDAIA0BLEMozOTQF/xJ25xYazBMex9f32pmMFG0TOqYWDrLIg4l5TYkQGjkf7pWnU7C9LVj2LUhVpTb4teoajiX3rUuomeEHqwQeVw==
Content-Language de-DE
In-Reply-To <larger-20180501121113@ram.dialup.fu-berlin.de>
Cancel-Lock sha1:0HNziaL4yz7pK2fo6AQikEeQ/IE=
X-User-ID eJwFwQkBACAIA8BKYzxiHATtH8E715DoZeFh/vzNBWYRuusKlCe3nNbyQZHZjO4DWk6oCPoDFP8Qow==
Xref csiph.com comp.lang.javascript:34956

Show key headers only | View raw


On 01.05.2018 at 13:13, Stefan Ram wrote:

>   After the introduction of »<«, can we define
> 
> x>y  as y<x,
> x<=y as !(x>y), and
> x>=y as !(x<y)
> 
>   or are there any exceptions?
> 
>   (Assuming that the evaluation of »x« and »y« does not have
>   side-effects.)

NaN <= NaN // => false
NaN > NaN // => false

-- 
Christoph M. Becker

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: x>y "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-05-01 13:32 +0200
  Re: x>y modular.products@googlemail.com - 2018-05-05 21:09 -0700
    Re: x>y Julio Di Egidio <julio@diegidio.name> - 2018-05-06 03:52 -0700

csiph-web