Project

General

Profile

« Previous | Next » 

Revision c9424177

Added by naruse (Yui NARUSE) over 15 years ago

  • 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