diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-25 02:26:22 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-25 02:26:22 +0000 |
commit | c942417791e74428fce1ed2a722c679fca5f131e (patch) | |
tree | 069d9468528c3ecea6b0a074c62f7be9477101f9 /ChangeLog | |
parent | d3f73f45d8342e37a814eeb8c98e1d04f451a3b4 (diff) | |
download | ruby-c942417791e74428fce1ed2a722c679fca5f131e.tar.gz |
* rational.c (nurat_expt): use Float#** when Rational ** Float.
This fixes Rational(3,1)**3.0=>26.99999999999999 on FreeBSD.
* complex.c (rb_fexpt): removed.
Note that this function is not static but is private.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Thu Feb 25 11:17:01 2010 NARUSE, Yui <naruse@ruby-lang.org> + + * rational.c (nurat_expt): use Float#** when Rational ** Float. + This fixes Rational(3,1)**3.0=>26.99999999999999 on FreeBSD. + + * complex.c (rb_fexpt): removed. + Note that this function is not static but is private. + Thu Feb 25 00:43:57 2010 Koichi Sasada <ko1@atdot.net> * insns.def: Change the operand type of setinlinecache |