Sun S3L 3.0 Programming and Reference Guide

Syntax

The C and Fortran syntax for S3L_rand_lcg are shown below.

C/C++ Syntax


Example 8-73

#include <s3l/s3l-c.h>
#include <s3l/s3l_errno-c.h>
int
S3L_rand_lcg(a, iseed)
    S3L_array_t        a
    int                iseed

F77/F90 Syntax


Example 8-74

include `s3l/s3l-f.h'
include `s3l/s3l_errno-f.h'
subroutine
S3L_rand_lcg(a, iseed, ier)
    integer*8          a
    integer*4          iseed
    integer*4          ier