diff options
author | bd <bdunahu@operationnull.com> | 2025-05-10 21:15:24 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-10 21:15:24 -0400 |
commit | 714622080d510de1591de2c689d8bd319b54f432 (patch) | |
tree | 83e13a01d7d25afb847839a3926f1ee673e69c63 /inc | |
parent | 727afe4ffac0f193696c99234a2ade3a02f73157 (diff) |
Fix overflow/underflow conditions in vector ops
Diffstat (limited to 'inc')
-rw-r--r-- | inc/ex.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -103,8 +103,9 @@ class EX : public Stage * @param the numerator * @param the denominator * @param if the modulo operator should instead be used + * @return if the operation overflowed */ - void handle_divide(signed int &s1, signed int s2, bool is_mod); + bool handle_divide(signed int &s1, signed int s2, bool is_mod); }; #endif /* EX_H_INCLUDED */ |