Segmentation fault when exponentiating complex number
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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
#1 Updated by naruse (Yui NARUSE) over 6 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100