- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Can someone tell me if the random_number intrinsic subroutine is supposed to be pure? The compiler complains when I use it in a pure procedure. I have used it like that with CVF, fujitsu, lahey-fujitsu and Sun compilers in the past and none of them have complained.
Thanks alot,
Paul
Can someone tell me if the random_number intrinsic subroutine is supposed to be pure? The compiler complains when I use it in a pure procedure. I have used it like that with CVF, fujitsu, lahey-fujitsu and Sun compilers in the past and none of them have complained.
Thanks alot,
Paul
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, RANDOM_NUMBER is not pure. CVF not detecting this was a bug. The only intrinsic subroutine which is PURE is MVBITS.
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page