Skip to content
Commits on Feb 7, 2008
  1. @akr

    * math.c (math_gamma): new method Math.gamma.

    akr committed
      (math_lgamma): new method Math.lgamma.
    
    * include/ruby/missing.h (tgamma): declared unless HAVE_TGAMMA.
      (lgamma_r): declared unless HAVE_LGAMMA_R.
    
    * configure.in (tgamma): check for replacement funtions.
      (lgamma_r): ditto.
    
    * missing/tgamma.c: new file.  based on gamma.c from
      "C-gengo niyoru saishin algorithm jiten" (New Algorithm handbook
      in C language) (Gijyutsu hyouron sha, Tokyo, 1991)
      by Haruhiko Okumura.
    
    * missing/lgamma_r.c: ditto.
    
    * LEGAL (missing/tgamma.c): describe as public domain.
      (missing/lgamma_r.c): ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 2, 2008
  1. @akr

    * util.c (ruby_strtoul): locale independent strtoul is implemented to

    akr committed
      avoid "i".to_i(36) cause 0 under tr_TR locale.
      This is newly implemented, not a copy of missing/strtoul.c.
    
    * include/ruby/ruby.h (ruby_strtoul): declared.
      (STRTOUL): defined to use ruby_strtoul.
    
    * bignum.c, pack.c, ext/socket/socket.c: use STRTOUL.
    
    * configure.in (strtoul): don't check.
    
    * missing/strtoul.c: removed.
    
    * include/ruby/missing.h (strtoul): removed.
    
    * common.mk (strtoul.o): removed.
    
    * LEGAL (missing/strtoul.c): removed.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @akr

    * missing/strcasecmp.c: removed. Ruby don't use locale dependent

    akr committed
      strcasecmp.
    
    * missing/strncasecmp.c: ditto.
    
    * configure.in: don't check strcasecmp and strncasecmp.
    
    * LEGAL: missing/strcasecmp.c and missing/strncasecmp.c removed.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.