[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49667] Computing powers of complex numbers in
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #49667] Computing powers of complex numbers in 4.2.0 is slower than in 4.0.3 |
Date: |
Tue, 22 Nov 2016 19:51:33 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 |
Follow-up Comment #3, bug #49667 (project octave):
Avinoam - I think it's pretty clear this is related to the older toolchain on
Ubuntu 14.04 / Mint 17, but thanks for confirming anyway.
Related: http://stackoverflow.com/q/5627030/384593, bug #38142
Compare the definition of std::pow(std::complex<double>, int) in gcc 4.8.4
(the version in Ubuntu 14.04)
https://github.com/gcc-mirror/gcc/blob/gcc-4_8_4-release/libstdc%2B%2B-v3/include/std/complex#L975
with the same function in gcc 5 / 6
https://github.com/gcc-mirror/gcc/blob/gcc-5_1_0-release/libstdc%2B%2B-v3/include/std/complex#L976
So yes, I would say that this performance degradation is a defect in gcc 4.8
running in C++11 mode.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49667>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49667] Computing powers of complex numbers in 4.2.0 is slower than in 4.0.3, Marco Caliari, 2016/11/22
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #49667] Computing powers of complex numbers in 4.2.0 is slower than in 4.0.3,
Mike Miller <=
- [Octave-bug-tracker] [bug #49667] Computing powers of complex numbers in 4.2.0 is slower than in 4.0.3, John W. Eaton, 2016/11/22
- [Octave-bug-tracker] [bug #49667] Computing powers of complex numbers in 4.2.0 is slower than in 4.0.3, Mike Miller, 2016/11/22
- [Octave-bug-tracker] [bug #49667] Computing integer powers of complex numbers in 4.2.0 is slower than in 4.0.3 with GCC 4.8, Mike Miller, 2016/11/22
- [Octave-bug-tracker] [bug #49667] Computing integer powers of complex numbers in 4.2.0 is slower than in 4.0.3 with GCC 4.8, Marco Caliari, 2016/11/23
- [Octave-bug-tracker] [bug #49667] Computing integer powers of complex numbers in 4.2.0 is slower than in 4.0.3 with GCC 4.8, Mike Miller, 2016/11/23