Re: Why decimal?

2009-06-25 Thread Erik Arvidsson
On Wed, Jun 24, 2009 at 13:46, Mark Millererig...@gmail.com wrote: As I think Allen first suggested (please correct if I misattribute or misconstrue), I have been using Harmony to label the trajectory that the Harmony agreement set us on. I have been using ES6 to name whatever the next

Re: Why decimal?

2009-06-24 Thread Breton Slivka
People generally expect math to work how they've been taught in school. When javascript violates their expectations, that is the very definition of a bug. It is true that binary might be more precise for certain kinds of applications, and if it's a native machine type there's performance

Re: Why decimal?

2009-06-24 Thread Christian Plesner Hansen
People generally expect math to work how they've been taught in school. When javascript violates their expectations, that is the very definition of a bug. School math is accurate, there are no approximations at all. Neither binary nor decimal are accurate, both will violate people's

Re: Why decimal?

2009-06-24 Thread Brendan Eich
On Jun 24, 2009, at 1:49 AM, Christian Plesner Hansen wrote: I don't know, the user doesn't say why this inaccuracy is a problem. It sounds like he's just generally unhappy that arithmetic is approximate. Decimal is approximate too. That's true at very extreme margins only! Decimal does not

Re: Why decimal?

2009-06-24 Thread Christian Plesner Hansen
I have concluded that it's too late to fix anything by adding decimal. It's clearly to late to change the number type from binary to decimal. So we are going to let library authors cater to users, and get TC39 out of this hopeless business. Sorry for being slow but I'm a little unclear on

Re: Why decimal?

2009-06-24 Thread Erik Corry
2009/6/23 Brendan Eich bren...@mozilla.com On Jun 23, 2009, at 12:18 AM, Christian Plesner Hansen wrote: I've been looking around on the web for reasons why decimal arithmetic should be added to ES. The most extensive page I could find was http://speleotrove.com/decimal/decifaq.html

Re: Why decimal?

2009-06-24 Thread Brendan Eich
On Jun 24, 2009, at 9:58 AM, Christian Plesner Hansen wrote: I have concluded that it's too late to fix anything by adding decimal. It's clearly to late to change the number type from binary to decimal. So we are going to let library authors cater to users, and get TC39 out of this

Re: Why decimal?

2009-06-24 Thread Sam Ruby
Erik Corry wrote: 2009/6/23 Brendan Eich bren...@mozilla.com mailto:bren...@mozilla.com On Jun 23, 2009, at 12:18 AM, Christian Plesner Hansen wrote: I've been looking around on the web for reasons why decimal arithmetic should be added to ES. The most extensive page I could

Re: Why decimal?

2009-06-24 Thread Christian Plesner Hansen
The second message in this thread, my first reply to your head-of-thread message, said: Anyway, decimal is not being pushed into JS at this point. At the last face-to-face TC39 meeting, we changed direction to explore generalizing value type support (including operators and literals if we

Re: Why decimal?

2009-06-24 Thread Brendan Eich
On Jun 24, 2009, at 12:08 PM, Christian Plesner Hansen wrote: The second message in this thread, my first reply to your head-of- thread message, said: Anyway, decimal is not being pushed into JS at this point. At the last face-to-face TC39 meeting, we changed direction to explore

Re: Why decimal?

2009-06-24 Thread Brendan Eich
On Jun 24, 2009, at 12:13 PM, Brendan Eich wrote: We can only focus on what's next. Our covenants the s/the/that/ proscribe certain features are few: no ES4-style namespaces (Common Lisp packages), nor packages built on them. I reviewed the Harmony announcement message:

Re: Why decimal?

2009-06-24 Thread Brendan Eich
On Jun 24, 2009, at 12:13 PM, Brendan Eich wrote: On Jun 24, 2009, at 12:08 PM, Christian Plesner Hansen wrote: I am just as unsure of how to read that. Does at this point mean that it's off the table altogether for harmony or only that it's been postponed until later in the process? Why

Re: Why decimal?

2009-06-24 Thread Brendan Eich
On Jun 24, 2009, at 12:37 PM, Brendan Eich wrote: So let's say ES6 is Harmony. Last message from me on this topic today, I promise. I wanted to encourage the use of Harmony for what's next, over against ES6. The ES3.1 - ES5 experience, and of course many software release renumbering

Why decimal?

2009-06-23 Thread Christian Plesner Hansen
I've been looking around on the web for reasons why decimal arithmetic should be added to ES. The most extensive page I could find was http://speleotrove.com/decimal/decifaq.html. If anyone know other good sources of information about decimal and its inclusion in ES please follow up

Re: Why decimal?

2009-06-23 Thread Brendan Eich
On Jun 23, 2009, at 12:18 AM, Christian Plesner Hansen wrote: I've been looking around on the web for reasons why decimal arithmetic should be added to ES. The most extensive page I could find was http://speleotrove.com/decimal/decifaq.html. If anyone know other good sources of information

Re: Why decimal?

2009-06-23 Thread Ash Berlin
On 23 Jun 2009, at 17:59, Brendan Eich wrote: On Jun 23, 2009, at 9:28 AM, Ash Berlin wrote: I'd rather it was possible to do operator overloading such that decial or what ever else could be implemented natively (in a self hosting JS) but I can also accept that this (operator overloading)