develooper Front page | perl.perl5.porters | Postings from June 2019

Re: Please think about if this idea is worth pursuing

Thread Previous
From:
Ryan Voots
Date:
June 1, 2019 17:53
Subject:
Re: Please think about if this idea is worth pursuing
Message ID:
CA+sVJX=jrb7WJYtQTNFZ6SWY8xSyjzyLQ973P0pc0v-kz3T8Rw@mail.gmail.com
Probably not in any way that's sane since it'll only work for integers, and
still requires a pow() call, in addition to the bit shift.

On Fri, May 31, 2019 at 6:41 PM Karl Williamson <public@khwilliamson.com>
wrote:

> Someone mentioned some years ago that 10**x is the same thing as
> (5**x)<<x.  Could perl use this fact in some way to get better results?
>

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About