• 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.
    5ce3af69
Name
Last commit
Last update
bench Loading commit data...
doc Loading commit data...
examples Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
Setup.hs Loading commit data...
build.sh Loading commit data...
cabal.project Loading commit data...
copar.cabal Loading commit data...
stack.yaml Loading commit data...