Project

General

Profile

Bug #783

mathn した場合の ** の振舞いに一貫性がない

Added by tadf (tadayoshi funaba) over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
-

Description

=begin
$ ./ruby -r mathn -e 'p (-8)**(1/3)'
Complex(1.0, 1.73205080756888)

以下も上と同じような結果になるべきだと思います。

$ ./ruby -r mathn -e 'p (-8.0)**(1/3)'
NaN

$ ./ruby -r mathn -e 'p (-8)**(1.0/3)'
NaN
=end

History

#1 Updated by shyouhei (Shyouhei Urabe) over 9 years ago

  • Assignee set to keiju (Keiju Ishitsuka)

=begin

=end

#2 Updated by marcandre (Marc-Andre Lafortune) almost 9 years ago

  • Category set to lib
  • Status changed from Open to Closed
  • Target version set to Ruby 1.8.8
  • ruby -v set to -

=begin
Fixed in r25068.
=end

Also available in: Atom PDF