Returns the previously returned random number.
(&self)
| 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 { |
no outgoing calls
no test coverage detected