Re: octave error

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

 



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?

Ever since the ^ operator takes higher precedence to -.  :)

-- Rex


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux