Commit 3eabc2fe authored by laurent's avatar laurent Committed by Robert Schmidt

remove ubsan from ziggurat random generator for speed and because it detects...

remove ubsan from ziggurat random generator for speed and because it detects abs(MIN_INT32) cant be computed
parent 01af5a1e
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment