haying/madlib — comment on commit 007ff442bbcedbec7c735f0fc0727904e33c0bc5
File: src/modules/igd/logistic_igd.cpp line 53
By fschopp:

What is the reason you compute sigma differently depending on x? Do you have a reference?

BTW, if x > 37, we could immediately return 0, because exp(-x) will be less than the machine epsilon. Likewise, exp(x) will be just 0 in IEEE 754 arithmetic if x < -744.