GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-rand.cc File Reference
#include <cassert>
#include <cstdint>
#include <limits>
#include "lo-error.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "lo-ranlib-proto.h"
#include "mach-info.h"
#include "oct-locbuf.h"
#include "oct-rand.h"
#include "oct-time.h"
#include "quit.h"
#include "randgamma.h"
#include "randmtzig.h"
#include "randpoisson.h"
#include "singleton-cleanup.h"
Include dependency graph for oct-rand.cc:

Go to the source code of this file.

Functions

static int32_t force_to_fit_range (int32_t i, int32_t lo, int32_t hi)
 

Function Documentation

◆ force_to_fit_range()

static int32_t force_to_fit_range ( int32_t  i,
int32_t  lo,
int32_t  hi 
)
static

Definition at line 97 of file oct-rand.cc.

Referenced by rand::do_seed(), and rand::initialize_ranlib_generators().