GNU Octave  4.4.1
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 100 of file oct-rand.cc.

References i.

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