Skip to content
  • Kenta Murata's avatar
    b920d954
    complex.c: optimize f_gt_p some cases · b920d954
    Kenta Murata authored
    * complex.c (f_gt_p): optimize f_gt_p for specific types of arguments.
    
    * internal.h (rb_int_gt, rb_float_gt, rb_rational_cmp): exported.
    
    * numeric.c (rb_float_gt): rename from flo_gt and be exported.
    
    * numeric.c (rb_int_gt): rename from int_gt and be exported.
    
    * rational.c (rb_rational_cmp): rename from nurat_cmp and be exported.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    b920d954
    complex.c: optimize f_gt_p some cases
    Kenta Murata authored
    * complex.c (f_gt_p): optimize f_gt_p for specific types of arguments.
    
    * internal.h (rb_int_gt, rb_float_gt, rb_rational_cmp): exported.
    
    * numeric.c (rb_float_gt): rename from flo_gt and be exported.
    
    * numeric.c (rb_int_gt): rename from int_gt and be exported.
    
    * rational.c (rb_rational_cmp): rename from nurat_cmp and be exported.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Loading