bug-bash
[Top][All Lists]
Advanced

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

Re: Bug fix for $((x**y)) algorithm on 64+ bits machines.


From: William Park
Subject: Re: Bug fix for $((x**y)) algorithm on 64+ bits machines.
Date: Sun, 18 Sep 2011 18:33:23 -0700 (PDT)

No.  For example, current Bash is copyrighted and licensed by the copyright 
holder.

To get included in Bash, though, I think the license should be the same as Bash,
at the least.
-- 

William



----- Original Message -----
> From: Nicolas ARGYROU <nargy@yahoo.com>
> To: Dave Rutherford <dave@evilpettingzoo.com>
> Cc: bashbug <bug-bash@gnu.org>
> Sent: Saturday, September 17, 2011 11:35:08 PM
> Subject: Re: Bug fix for $((x**y)) algorithm on 64+ bits machines.
> 
> 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 <dave@evilpettingzoo.com>
> To: Nicolas ARGYROU <nargy@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 <nargy@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 <nargy@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
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]