[phobos] [D-Programming-Language/phobos] 88d86e: Fix Issue #12835: open lower bound for integral-ty...

GitHub via phobos phobos at puremagic.com
Fri Jul 11 15:19:30 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 88d86ecda0c53568e4c7036ec85aa7a5a27438f9
      https://github.com/D-Programming-Language/phobos/commit/88d86ecda0c53568e4c7036ec85aa7a5a27438f9
  Author: Joseph Rushton Wakeling <joe at webdrake.net>
  Date:   2014-07-11 (Fri, 11 Jul 2014)

  Changed paths:
    M std/random.d

  Log Message:
  -----------
  Fix Issue #12835: open lower bound for integral-type uniform()

Added a cast to ensure the setting of lower bound can handle character
types and integral types smaller than int.  The additional unittests
should prevent such issues from arising again.


  Commit: 9e96ee3d38b563fb70c8761a0ccee663d59810cc
      https://github.com/D-Programming-Language/phobos/commit/9e96ee3d38b563fb70c8761a0ccee663d59810cc
  Author: Михаил Страшун <public at dicebot.lv>
  Date:   2014-07-12 (Sat, 12 Jul 2014)

  Changed paths:
    M std/random.d

  Log Message:
  -----------
  Merge pull request #2221 from WebDrake/uniform-lowerbound

Fix Issue #12835: open lower bound for integral-type uniform()


Compare: https://github.com/D-Programming-Language/phobos/compare/20d2e6cd4f38...9e96ee3d38b5


More information about the phobos mailing list