(&self, scope: Scope<'_>)
| 61 | } |
| 62 | |
| 63 | fn exec(&self, scope: Scope<'_>) -> CallResult<()> { |
| 64 | let mut total = scope.get_double(0); |
| 65 | let num_singular: usize = 1; |
| 66 | let mut reg = num_singular; |
| 67 | while reg < scope.nargs() { |
| 68 | total += f64::from(scope.get_integer(reg as u8)); |
| 69 | reg += 1; |
| 70 | } |
| 71 | scope.return_double(total) |
| 72 | } |
| 73 | } |
nothing calls this directly
no test coverage detected