bkmgit commented on pull request #11720: URL: https://github.com/apache/arrow/pull/11720#issuecomment-971576541
Some examples for how to work with overflows are available at https://wiki.sei.cmu.edu/confluence/display/c/INT32-C.+Ensure+that+operations+on+signed+integers+do+not+result+in+overflow The basic idea is to use the limits to check for overflows and report an error if there is one. Int types do not have NAN or other error representation, so would probably be good to output a warning/error but let the computation continue. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
