Backport #8603

Back porting r41623

Added by Usaku NAKAMURA about 2 years ago. Updated about 2 years ago.

Status:Closed
Priority:Normal
Assignee:Usaku NAKAMURA

Description

r41623 fixes a bug of BigMath.exp in the case of negative non-BigDecimal arguments.

cf. https://github.com/ruby/ruby/pull/332


Related issues

Related to Ruby trunk - Bug #6862: BigMath.exp negative exponent Closed 08/13/2012

Associated revisions

Revision 41909
Added by Usaku NAKAMURA about 2 years ago

merge revision(s) 41623,41723: [Backport #8603]

* ext/bigdecimal/bigdecimal.c (BigMath_s_exp): Fix for the cases when
  the argument x is not a BigDecimal.
  This change is based on the patch made by Garth Snyder.
  [Fix GH-332] https://github.com/ruby/ruby/pull/332
  This change is based on the patch made by Heesob Park and Garth Snyder.
  [Bug #6862] 

History

#1 Updated by Usaku NAKAMURA about 2 years ago

(for 1.9.3)

#2 Updated by Usaku NAKAMURA about 2 years ago

  • Status changed from Assigned to Closed

This issue was solved with changeset r41909.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 41623,41723: [Backport #8603]

* ext/bigdecimal/bigdecimal.c (BigMath_s_exp): Fix for the cases when
  the argument x is not a BigDecimal.
  This change is based on the patch made by Garth Snyder.
  [Fix GH-332] https://github.com/ruby/ruby/pull/332
  This change is based on the patch made by Heesob Park and Garth Snyder.
  [Bug #6862] 

Also available in: Atom PDF