octave error

Gérard Milmeister gemi at bluewin.ch
Wed Apr 25 12:17:10 UTC 2007


On Wed, 2007-04-25 at 09:10 -0300, Martin Marques wrote:
> Please, tell me I haven't lost it yet.
> 
> octave:14> -5^4
> ans = -625
> 
> Since when does an even power of a negative number give a negative
> result?
You could try (-5)^4 ...
-- 
Gérard Milmeister
Langackerstrasse 49
CH-8057 Zürich




More information about the fedora-list mailing list