[macruby-changes] [MacRuby/MacRuby] b9e8a0: get rid of overflow, and fix inaccurate results

noreply at github.com noreply at github.com
Sun Dec 25 17:48:20 PST 2011


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

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

  Changed paths:
    M numeric.c

  Log Message:
  -----------
  get rid of overflow, and fix inaccurate results


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

  Changed paths:
    M numeric.c

  Log Message:
  -----------
  fix variable's width


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

  Changed paths:
    M bignum.c
  M numeric.c

  Log Message:
  -----------
  call rb_big_fdiv() when the given second argument is a bignum


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

  Changed paths:
    M numeric.c

  Log Message:
  -----------
  use each class's floor method


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

  Changed paths:
    M numeric.c

  Log Message:
  -----------
  normalize -0.0 to 0.0


Compare: https://github.com/MacRuby/MacRuby/compare/6fb11ed...cd4b944


More information about the macruby-changes mailing list