Project

General

Profile

This project is closed and read-only.

Actions

Bug #2701

closed

rubyspec: BigDecimal#div returns NaN if divided by zero and no precision given ERROR

Bug #2701: rubyspec: BigDecimal#div returns NaN if divided by zero and no precision given ERROR

Added by mame (Yusuke Endoh) over 16 years ago. Updated about 7 years ago.

Status:
Closed
Assignee:
-
ruby -v:
nil
[ruby-dev:40279]

Description

=begin
Yugui さん
遠藤です。

trunk では、BigDecimal の除算が NaN でなく ZeroDivisionError を
投げるようになっています (r20368 、r20383) 。

これは、1.9.1 にバックポートされるでしょうか。
1.9.2 からの仕様変更となるでしょうか。

--
Yusuke ENDOH
=end

Actions

Also available in: PDF Atom