This project is closed and read-only.
Actions
Backport #2665
closedcompatibility issue of BigDecimal#** and #power
Backport #2665:
compatibility issue of BigDecimal#** and #power
Status:
Closed
Assignee:
-
Description
=begin
まつもと ゆきひろです
In message "Re: [ruby-dev:40172] Re: [Bug:1.8] compatibility issue of BigDecimal#** and #power"
on Wed, 27 Jan 2010 16:09:18 +0900, Tadashi Saito shiba@mail2.accsnet.ne.jp writes:
|> - 1.8.7 以前のバグだった (1.8.6/1.8.7 にもバックポートすべき)
|
|当然こっちだと思います。
|
|1 / Infinity (=> 0) と Infinity ** -1 (=> NaN?) が異なるのはおかしいです。
私もバグだと思いますが、実際にDecimalを使う人が、元の方がう
れしいというのであれば(1.9も含めて)、戻しても構いません。
=end
Actions