This file is indexed.

/usr/share/doc/libsprng2-doc/EXAMPLES/seedf-simple.F is in libsprng2-doc 2.0a-10.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
C
C                   Demonstrates the use make_sprng_seed                
C 'make_sprng_seed' is used to produce a new seed each time the program is
C  run. Then a few random numbers are printed. 
C

       program seedf_simple
       implicit none

#define SIMPLE_SPRNG	
#include "sprng_f.h"

       integer seed, i, junk
       SPRNG_POINTER junkPtr
       real*8 rn
C---
       integer gtype
#include "genf_types_menu.h"
       print *,'Type in a generator type (integers: 0,1,2,3,4,5):  '
       read *, gtype
C---
       
C  generate a new seed each time program is run and initialize stream
       seed = make_sprng_seed()
       junkPtr = init_sprng(gtype,seed,SPRNG_DEFAULT)
       print *, 'Printing information about new stream'
       junk = print_sprng()

       print *, 'Printing 3 random numbers in [0,1):'
       do 100 i = 1, 3
          rn = sprng()
          write(*,"(f8.6)") rn
 100   continue


       end