Re: ES3.1 Proposal Working Draft

2008-02-25 Thread Nathan de Vries
On Mon, 2008-02-25 at 10:15 +, Mike Cowlishaw wrote: Currency calculations are not very interesting at all :-). But (outside HPC and specialized processors such as graphics cards) they are by far the most common. Surely the Adobe fellows have something to say about this :). Flash tweening

Re: ES3.1 Proposal Working Draft

2008-02-25 Thread Maciej Stachowiak
On Feb 25, 2008, at 2:15 AM, Mike Cowlishaw wrote: Pentium basic arithmetic operations take from 1 cycle (pipelined add, rarely achieved in practice) up to 39 cycles (divide). The figures at the URL above for decimal FP software are worst-cases (for example, for Add, a full-length

Re: ES3.1 Proposal Working Draft

2008-02-21 Thread Brendan Eich
On Feb 20, 2008, at 1:25 PM, Mark S. Miller wrote: What numbers are representable as double but not decimal? Mike Cowlishaw's page at http://www2.hursley.ibm.com/decimal/ is extremely informative, especially http://www2.hursley.ibm.com/decimal/ decifaq.html; see also the link to

Re: ES3.1 Proposal Working Draft - decimal support

2008-02-21 Thread Mike Cowlishaw
[EMAIL PROTECTED] 21/02/2008 09:54 To Mike Cowlishaw/UK/[EMAIL PROTECTED] cc Adam Peller [EMAIL PROTECTED], es4-discuss@mozilla.org es4-discuss es4-discuss@mozilla.org Subject Re: ES3.1 Proposal Working Draft - decimal support On Feb 21, 2008, at 1:25 AM, Mike Cowlishaw wrote: Separately from

Re: ES3.1 Proposal Working Draft - decimal support

2008-02-21 Thread Brendan Eich
On Feb 21, 2008, at 1:25 AM, Mike Cowlishaw wrote: Separately from the decimal discussion, I am a bit confused at how ES3.x or ES4 is migrated to from ES3. If the syntax cannot change then that implies that the semantics change without any indication in the syntax. ES4 has new syntax;

ES3.1 Proposal Working Draft

2008-02-21 Thread Mike Cowlishaw
Maciej wrote on Wed Feb 20 14:28:33 PST 2008: Besides compatibility issues, this would be a significant performance regression for math-heavy code. I would consider this a showstopper to implementing such a change. I'm inclined to agree that it is (unfortunately) probably not a good idea

Re: ES3.1 Proposal Working Draft

2008-02-21 Thread Maciej Stachowiak
On Feb 21, 2008, at 2:46 AM, Mike Cowlishaw wrote: Maciej wrote on Wed Feb 20 14:28:33 PST 2008: Besides compatibility issues, this would be a significant performance regression for math-heavy code. I would consider this a showstopper to implementing such a change. I'm inclined to

Fwd: ES3.1 Proposal Working Draft

2008-02-20 Thread Mark S. Miller
[Maciej's latest message is a continuation of the following thread. I have removed email addresses from the correspondence below to avoid helping spammers. This conversation took place on e-TC39 -at- ecma-international.org ] Forwarded conversation Subject: ES3.1 Proposal Working Draft

Re: ES3.1 Proposal Working Draft

2008-02-20 Thread Adam Peller
Each of us has some pet addition we think would be a great addition to the language. const, decimal, getters and setters, destructing assignment -- all these have come up just this morning!. Each of these makes the language larger and more complex, imposing a general diffuse cost on everyone.

Re: ES3.1 Proposal Working Draft

2008-02-20 Thread Mark S. Miller
2008/2/20 Adam Peller [EMAIL PROTECTED]: Mark, as I recall, the discussion at the March meeting in Newton involved implementing decimal arithmetic in ES3.1 to *replace* the floating point implementation in ES3, thus no new syntax. Yes, this would have unexpected results for those who actually

Re: ES3.1 Proposal Working Draft

2008-02-20 Thread Maciej Stachowiak
On Feb 20, 2008, at 1:00 PM, Adam Peller wrote: Each of us has some pet addition we think would be a great addition to the language. const, decimal, getters and setters, destructing assignment -- all these have come up just this morning!. Each of these makes the language larger and

Re: ES3.1 Proposal Working Draft

2008-02-20 Thread Brendan Eich
On Feb 20, 2008, at 1:00 PM, Adam Peller wrote: Each of us has some pet addition we think would be a great addition to the language. const, decimal, getters and setters, destructing assignment -- all these have come up just this morning!. Each of these makes the language larger and more