On Wed Aug 16 21:48:02 2023 +0000, Bartosz Kosiorek wrote:
How it could be done (set *result when you return)?
I just mean set *result before you return, just like you do about 5 lines before. It appears 0 would the appropriate value, in which case you could combine the if blocks.