Re: Why no min / max
- From: James Dow Allen <jdallen2000@xxxxxxxxx>
- Date: Fri, 26 Nov 2010 09:13:50 -0800 (PST)
On Nov 26, 10:58 pm, Tom St Denis <t...@xxxxxxx> wrote:
On Nov 26, 10:54 am, Eric Sosman <esos...@xxxxxxxxxxxxxxxxxxxx> wrote:
... MIN(NaN,42) could yield 42, while MIN(42,NaN) could yield NaN.
I think most
people would find a non-commutative MIN surprising ...
Simple just do MIN(MIN(x,y),MIN(y,x)).
Solved.
Try again. In the hypothetical (x=42, y=NaN)
MIN(MIN(x,y),MIN(y,x)) != MIN(MIN(y,x),MIN(x,y))
James
.
- References:
- Why no min / max
- From: Noob
- Re: Why no min / max
- From: Eric Sosman
- Re: Why no min / max
- From: Tom St Denis
- Why no min / max
- Prev by Date: ANGELINA JOLIE New***Tape Released ( UNSEEN Video Ever Seen ) Erotic Video
- Next by Date: EARN $10 Per Page URGENTLY REQUIRED 350+ ONLINE WORKERS ...
- Previous by thread: Re: Why no min / max
- Next by thread: Re: Why no min / max
- Index(es):