Project

General

Profile

« Previous | Next » 

Revision a1f8fbd1

Added by nobu (Nobuyoshi Nakada) about 9 years ago

math.c: deoptimize

  • math.c (Get_Double): restrict direct casting only when
    Fixnum#to_f is not redefined, and convert with rb_to_float().
    [Feature #10785]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e