You're right. Then, just do what you want with this piece of code, I make it public domain: no restriction at all on using it. It's a gift to bash as I use it a lot. I also accept that you put my name and/or email with the piece of code in case someone wants to contact the author. :-)
Regards, Nicolas Argyrou ----- Original Message ----- From: Dave Rutherford <d...@evilpettingzoo.com> To: Nicolas ARGYROU <na...@yahoo.com> Cc: Sent: Saturday, September 17, 2011 10:34 PM Subject: Re: Bug fix for $((x**y)) algorithm on 64+ bits machines. On Sat, Sep 17, 2011 at 07:10, Nicolas ARGYROU <na...@yahoo.com> wrote: > I came up with a version that is slightly more precise in the comments, and > that uses 3 registers instead of 4 > (though gcc can optimize that): > > > // Copyright 2011: Nicolas Argyrou <na...@yahoo.com>, public domain. My understanding is that something can be either copyrighted or public domain, but not both at the same time. You might want to check on this. Dave