[macruby-changes] [MacRuby/MacRuby] 6fd57f: implement Bignum#{>, >=, <, <=, ===, magnitude}

noreply at github.com noreply at github.com
Mon Dec 26 00:36:44 PST 2011


  Branch: refs/heads/master
  Home:   https://github.com/MacRuby/MacRuby

  Commit: 6fd57fc517cceeb56dea788b55c8067796e0a379
      https://github.com/MacRuby/MacRuby/commit/6fd57fc517cceeb56dea788b55c8067796e0a379
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c

  Log Message:
  -----------
  implement Bignum#{>, >=, <, <=, ===, magnitude}


  Commit: e2389ad9047b02372ad87201d5cd6ca4b0288978
      https://github.com/MacRuby/MacRuby/commit/e2389ad9047b02372ad87201d5cd6ca4b0288978
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c

  Log Message:
  -----------
  move BDIGITS() from inside of loop


  Commit: a6f912a55aa678bd62e9eadfa386db81529a4bec
      https://github.com/MacRuby/MacRuby/commit/a6f912a55aa678bd62e9eadfa386db81529a4bec
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c

  Log Message:
  -----------
  FIX2INT() may fail on LP64 platform


  Commit: 80bcc78770414187e6ebb04cfec9571f819c938c
      https://github.com/MacRuby/MacRuby/commit/80bcc78770414187e6ebb04cfec9571f819c938c
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c

  Log Message:
  -----------
  call rb_big_resize() only when needed


  Commit: ae6c763552d9eaf849755d451be7998a34963d7d
      https://github.com/MacRuby/MacRuby/commit/ae6c763552d9eaf849755d451be7998a34963d7d
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c

  Log Message:
  -----------
  zero length Bignum is 0


  Commit: 952381602aa88d5226eb58d252febcd2f5d6497e
      https://github.com/MacRuby/MacRuby/commit/952381602aa88d5226eb58d252febcd2f5d6497e
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c
  M include/ruby/intern.h

  Log Message:
  -----------
  implement rb_big_pack() and rb_big_unpack()


  Commit: ef77aaeda6cccaca80d785a42e6e6e83c34511d2
      https://github.com/MacRuby/MacRuby/commit/ef77aaeda6cccaca80d785a42e6e6e83c34511d2
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c

  Log Message:
  -----------
  fix rb_quad_pack and rb_quad_unpack for environments which don't have 8bytes integer type.  This still depends on little endian


  Commit: e90dbd38f80d7b62900d6409af45e1a1fa7081ce
      https://github.com/MacRuby/MacRuby/commit/e90dbd38f80d7b62900d6409af45e1a1fa7081ce
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c

  Log Message:
  -----------
  free internal buffer eagerly


  Commit: c76b382c618c129296088e73e3bbbf2d0b26673b
      https://github.com/MacRuby/MacRuby/commit/c76b382c618c129296088e73e3bbbf2d0b26673b
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c
  M pack.c

  Log Message:
  -----------
  use VALUE sized integer


  Commit: 6e99fb099b742745f012b1f7e277e6600fa83414
      https://github.com/MacRuby/MacRuby/commit/6e99fb099b742745f012b1f7e277e6600fa83414
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c

  Log Message:
  -----------
  avoid signbit() and adjust indentation


  Commit: b4a5dbba798ac37865bff9071c0675835f5e839b
      https://github.com/MacRuby/MacRuby/commit/b4a5dbba798ac37865bff9071c0675835f5e839b
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c

  Log Message:
  -----------
  adjust length for division and remainder


  Commit: 040a2de55e99b2d9457a14f53bdca9d4646a8d31
      https://github.com/MacRuby/MacRuby/commit/040a2de55e99b2d9457a14f53bdca9d4646a8d31
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c

  Log Message:
  -----------
  use the DBL2NUM instead of DOUBLE2NUM


  Commit: b8901e2b820daa3853b988e3ce435ae0365a7a2a
      https://github.com/MacRuby/MacRuby/commit/b8901e2b820daa3853b988e3ce435ae0365a7a2a
  Author: Watson <watson1978 at gmail.com>
  Date:   2011-12-25 (Sun, 25 Dec 2011)

  Changed paths:
    M bignum.c

  Log Message:
  -----------
  update rdoc


Compare: https://github.com/MacRuby/MacRuby/compare/cd4b944...b8901e2


More information about the macruby-changes mailing list