(&self, scope: Scope<'_>)
| 54 | } |
| 55 | |
| 56 | fn exec(&self, scope: Scope<'_>) -> CallResult<()> { |
| 57 | let mut max = f64::MIN; |
| 58 | let num_singular: usize = 0; |
| 59 | let mut reg = num_singular; |
| 60 | while reg < scope.nargs() { |
| 61 | let n = scope.get_double(reg as u8); |
| 62 | if n > max { |
| 63 | max = n; |
| 64 | } |
| 65 | reg += 1; |
| 66 | } |
| 67 | scope.return_double(max) |
| 68 | } |
| 69 | } |
nothing calls this directly
no test coverage detected