[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: integer exponentiation with negative exponent
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 29 Apr 2014 11:39:01 +0200
>>> On Apr 28, 2014, at 7:14 AM, Leo Razoumov <slonik.az@gmail.com> wrote:
>>>> I think that the "principle of least surprise" would favor 2^-3 == 0.125
There are many existing Lua programs that do this. This is the status quo.
To change it requires an argument demonstrating that more practical
advantage is to be gained from the change than the damage caused by
breaking those programs.
Practical, not theoretical or hypothetical. Extra computing power,
not extra hair-splitting ability.
That argument has not yet been made in this thread.