remove ubsan from ziggurat random generator for speed and because it detects abs(MIN_INT32) cant be computed

This commit is contained in:
laurent
2023-04-19 22:12:08 +02:00
committed by Robert Schmidt
parent 01af5a1e2d
commit 3eabc2fe01
+1 -1
View File
@@ -190,7 +190,7 @@ void tableNor(unsigned long seed)
return;
}
double __attribute__ ((no_sanitize_address)) gaussZiggurat(double mean, double variance)
double __attribute__ ((no_sanitize("address", "undefined"))) gaussZiggurat(double mean, double variance)
{
if (!tableNordDone) {
// let's make reasonnable constant tables