Project

General

Profile

« Previous | Next » 

Revision 932e916b

Added by nobu (Nobuyoshi Nakada) almost 9 years ago

numeric.c: Numeric#positive? and Numeric#negative?

  • numeric.c (num_positive_p, num_negative_p): add methods
    Numeric#positive? and Numeric#negative?.
    [ruby-core:69173] [Feature #11151]
  • numeric.c (flo_positive_p, flo_negative_p): specialiazed
    functions for Float.
  • complex.c (Init_Complex): Complex do not have positive? and
    negative? methods

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