https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99740
--- Comment #5 from Paul A. Voytas ---
I understand random_number() is much better--which is great and I'll use it
going forward. I was just trying to not have to recode a lot in cases where I
used rand() because it was good enough. I certainly w
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99740
--- Comment #3 from Paul A. Voytas ---
I see what you mean--if i test for rand(0)=0.d0 I do get hist with gfortran on
the EL7 machine.
But it seems like there must still be something different from older versions.
The info pages for rand() say
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99740
Bug ID: 99740
Summary: floating point exception in rand() in gfortran
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: