/home/amodigli/releases/xsh/2.1.1/xsh.30433/xshp/xsh/xsh_model_randlcg.c File Reference

#include <cpl.h>
#include "xsh_model_kernel.h"
#include <math.h>
#include <limits.h>
#include <xsh_model_randlcg.h>

Go to the source code of this file.

Defines

#define ALL_BITS   0xffffffff

Functions

long xsh_set_seed (long int sd)
long get_seed (void)
unsigned long int xsh_randlcg (void)

Variables

static long int the_quotient = LONG_MAX / 16807L
static long int the_remainder = LONG_MAX % 16807L
static long int seed_val = 1L

Generated on 13 Mar 2013 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1