Segmentation fault when exponentiating complex number
|ruby -v:||ruby 1.9.3p125 (2012-02-16 revision 34643) [i686-linux]||Backport:|
A segfault is raised when running the following script, with any exponent greater or equal to 5:
It only seems to happen when exponentiating pure imaginary numbers and if 'mathn/coplex' is loaded, otherwise it works just fine.
- complex.c (nucomp_expt): the result of f_complex_new2 may be a fixnum with mathn. [Bug #6267]
#1 Updated by Yui NARUSE almost 3 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100