Actions
Bug #6267
closedSegmentation fault when exponentiating complex number
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p125 (2012-02-16 revision 34643) [i686-linux]
Backport:
Description
A segfault is raised when running the following script, with any exponent greater or equal to 5:
require "mathn/complex"
Complex(0,1)**5
It only seems to happen when exponentiating pure imaginary numbers and if 'mathn/coplex' is loaded, otherwise it works just fine.
Files
Actions
Like0
Like0Like0Like0