| 77 | } |
| 78 | |
| 79 | void UArray_negate(const UArray *self) { |
| 80 | if (UArray_isSignedType(self)) { |
| 81 | UARRAY_FOREACHASSIGN(self, i, v, -v); |
| 82 | } else { |
| 83 | UArray_error_(self, "UArray_negate not supported on this type"); |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | // basic vector math |
| 88 |
nothing calls this directly
no test coverage detected