Project

General

Profile

Actions

Bug #783

closed

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

Added by tadf (tadayoshi funaba) about 16 years ago. Updated over 13 years ago.

Status:
Closed
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

Actions #1

Updated by shyouhei (Shyouhei Urabe) almost 16 years ago

  • Assignee set to keiju (Keiju Ishitsuka)

=begin

=end

Actions #2

Updated by marcandre (Marc-Andre Lafortune) about 15 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

Actions

Also available in: Atom PDF

Like0
Like0Like0