Re: integer exponentiation with negative exponent
[
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: 2014年4月14日 18:26:47 +0200
2014年04月14日 15:42 GMT+02:00 Roberto Ierusalimschy <roberto@inf.puc-rio.br>:
> The error option has the advantage that it calls the programmer
> attention to the fact that the operation might not be doing what she
> intended, and so she has to be more explicit (e.g., ensuring that one of
> the operands is a float).
True. But when that programmer coded, three years ago, `eps = 2^-48`,
she did not know that one day it would be an error. And we do not (yet?)
have Python-style throwing and catching of exceptions.