|
From: | John W. Eaton |
Subject: | fix integer exponentiation with negative exponent |
Date: | Fri, 12 Sep 2008 15:34:37 -0400 |
On 12-Sep-2008, Jaroslav Hajek wrote: | in current Octave, a^b with a,b integers and b < 0 always produces | zero, which is obviously wrong for a = +-1. Fix attached. I applied it. Thanks, jwe
[Prev in Thread] | Current Thread | [Next in Thread] |