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

Method last

std/src/numerics.rs:109–111  ·  view source on GitHub ↗

Returns the previously returned random number.

(&self)

Source from the content-addressed store, hash-verified

107
108 /// Returns the previously returned random number.
109 fn last(&self) -> f64 {
110 (self.last as f64) / (u32::MAX as f64)
111 }
112
113 /// Computes the next random number and returns it.
114 fn next(&mut self) -> f64 {

Callers 5

parse_exprMethod · 0.80
nextMethod · 0.80
execMethod · 0.80
draw_polyFunction · 0.80
poly_pointsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected