Dev #280

Merged
altavir merged 99 commits from dev into master 2021-04-16 19:45:55 +03:00
Showing only changes of commit 5ff76209aa - Show all commits

View File

@ -60,7 +60,7 @@ class ZigguratNormalizedGaussianSampler private constructor() :
companion object { companion object {
private const val R: Double = 3.442619855899 private const val R: Double = 3.442619855899
private const val ONE_OVER_R: Double = 1 / R private const val ONE_OVER_R: Double = 1 / R
private const val V = 9.91256303526217e-3 private const val V: Double = 9.91256303526217e-3
private val MAX: Double = 2.0.pow(63.0) private val MAX: Double = 2.0.pow(63.0)
private val ONE_OVER_MAX: Double = 1.0 / MAX private val ONE_OVER_MAX: Double = 1.0 / MAX
private const val LEN: Int = 128 private const val LEN: Int = 128