[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fix integer exponentiation with negative exponent
From: |
Jaroslav Hajek |
Subject: |
fix integer exponentiation with negative exponent |
Date: |
Fri, 12 Sep 2008 21:25:54 +0200 |
hi,
in current Octave, a^b with a,b integers and b < 0 always produces
zero, which is obviously wrong for a = +-1. Fix attached.
--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
intpowfix.diff
Description: Text Data
- fix integer exponentiation with negative exponent,
Jaroslav Hajek <=