1. 03 Apr, 2019 1 commit
    • Hans-Peter Deifel's avatar
      wta: Don't use floats for probability · 5ce3af69
      Hans-Peter Deifel authored
      This switches from floats to a sort of arbitrary precision base10 floating point
      implementation where we can easily generate uniform random numbers.
      The problem with floats is that they aren't distributed equally across the whole
      range and thus a random number in [0, 1) is not uniform.