Skip to content
Commit 5ce3af69 authored by Hans-Peter Deifel's avatar Hans-Peter Deifel 🐢
Browse files

wta: Don't use floats for probability

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.
parent bb0d6c9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment