Documentation

RandomNumberGeneratorInterface

Table of Contents

Methods

generate()  : GMP
Generate a random number between 0 and the specified upper boundary.

Methods

generate()

Generate a random number between 0 and the specified upper boundary.

public generate(GMP $max) : GMP
Parameters
$max : GMP
  • Upper boundary, inclusive
Return values
GMP

        
On this page

Search results