[Bug libfortran/99740] floating point exception in rand() in gfortran

2021-03-29 Thread pvoytas at gmail dot com via Gcc-bugs
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

[Bug libfortran/99740] floating point exception in rand() in gfortran

2021-03-25 Thread pvoytas at gmail dot com via Gcc-bugs
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

[Bug libfortran/99740] New: floating point exception in rand() in gfortran

2021-03-23 Thread pvoytas at gmail dot com via Gcc-bugs
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: