lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Am 09.06.2016 um 16:04 schröbte Patrick Donnelly:
On Thu, Jun 9, 2016 at 4:45 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:

v=(2*n+1)^2


v = (2*n+1)<<1

That would be equivalent to `(2*n+1)*2`.


Philipp