possible bug #137
Replies: 2 comments 2 replies
-
C++ promotion rules state that the procedure for arithmetic operations is: |
Beta Was this translation helpful? Give feedback.
-
thank you kindly for reply |
Beta Was this translation helpful? Give feedback.
-
greetings kind regards
attached please find PNGs of source and output of
auto sum = uimax + imin;
result was exception as shown . the correct result id est 9,223,372,036,854,775,807 i believe fits both__int64
andunsigned __int64
.attached also is source for purpose of reproduction .
thank you kindly
JunkCode.zip
Beta Was this translation helpful? Give feedback.
All reactions