malzfreund

DRANDGAUSSIAN returns -Infinity

Discussion created by malzfreund on Nov 1, 2007
After several million calls, DRANDGAUSSIAN returns -Infinity

Hi,

I hope to get some feedback here on DRANDGAUSSIAN. After calling it several million times, the pseudo-random value it returns to me is -Infinity. This is for quite small mean and variance, this result is also reproducible.

The question is whether this is a possible return value (for X) of DRANDGAUSSIAN or if this is, likely, a bug somewhere else in my code. When giving me infinity as the first output argument (X), the second output argument (info) is returned as 0 (so no obvious problem from that side).

Any suggestions would be greatly appreciated--thanks in advance!

Outcomes