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


Groups > comp.lang.javascript > #34956

Re: x>y

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: x>y
Date 2018-05-01 13:32 +0200
Organization solani.org
Message-ID <pc9j87$n9s$1@solani.org> (permalink)
References <larger-20180501121113@ram.dialup.fu-berlin.de>

Show all headers | 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