Re: Re: Re: Math.sign vs ±0

2013-11-04 Thread Rick Waldron
On Mon, Nov 4, 2013 at 4:10 AM, Ingvar Stepanyan m...@rreverser.com wrote: Why can’t we do Uint64 class inside Math namespace to be used for all the 64-bit arithmetic operations? Like: var x = Math.Uint64(2); var y = Math.Uint64.fromString(“0x12345678abcdef01”); var z = x.mul(y); // or

RE: Re: Re: Math.sign vs ±0

2013-11-04 Thread Ingvar Stepanyan
That's strange. I believe I replied to different thread. Sorry. Sent from my Windows Phone From: Rick Waldron Sent: 04.11.2013 15:41 To: Ingvar Stepanyan Cc: es-discuss@mozilla.org Subject: Re: Re: Re: Math.sign vs ±0 On Mon, Nov 4, 2013 at 4:10 AM, Ingvar

Re: Re: Math.sign vs ±0

2013-11-04 Thread Brendan Eich
There's no particular reason not to do something like that, except: 1. It is not usable (see http://www.jroller.com/cpurdy/entry/the_seven_habits_of_highly1%23comment-1130764636000). 2. Math is becoming a dumping ground, as noted up-thread. 3. Polyfillability is not important if old code can