You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by GitBox <gi...@apache.org> on 2021/09/30 17:05:26 UTC

[GitHub] [orc] xndai commented on pull request #917: ORC-1008: Fix overflow detection code for C++ int64_t / java long

xndai commented on pull request #917:
URL: https://github.com/apache/orc/pull/917#issuecomment-931504804


   We may just need to do this -
   
   *result = x * y;
   return (x == 0 || y == 0 || *result / x == y);


-- 
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: dev-unsubscribe@orc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org