MCPcopy Index your code
hub / github.com/endbasic/endbasic / next

Method next

std/src/numerics.rs:114–117  ·  view source on GitHub ↗

Computes the next random number and returns it.

(&mut self)

Source from the content-addressed store, hash-verified

112
113 /// Computes the next random number and returns it.
114 fn next(&mut self) -> f64 {
115 self.last = self.prng.next_u32();
116 self.last()
117 }
118}
119
120/// The `ABS` function.

Callers 8

parse_eventFunction · 0.45
titleMethod · 0.45
callables_to_indexFunction · 0.45
describeMethod · 0.45
newMethod · 0.45
execMethod · 0.45
execMethod · 0.45
refillFunction · 0.45

Calls 1

lastMethod · 0.80

Tested by

no test coverage detected