GauthamBanasandra commented on pull request #2857:
URL: https://github.com/apache/hadoop/pull/2857#issuecomment-812820088


   I was able to verify this change using the following standalone C++ program -
   ```cpp
   #include <iostream>
   #include <limits>
   #include <ostream>
   
   int main(int argc, char *argv[]) {
     std::cout << "Max int64_t = " << std::numeric_limits<int64_t>::max()
               << std::endl;
     std::cout << "Max int64_t + 1 = " << std::numeric_limits<int64_t>::max() + 
1
               << std::endl;
     std::cout << "Min int64_t = " << std::numeric_limits<int64_t>::min()
               << std::endl;
     return 0;
   }
   ```
   
   Output -
   ```
   Max int64_t = 9223372036854775807
   Max int64_t + 1 = -9223372036854775808
   Min int64_t = -9223372036854775808
   ```


-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to