Alexey Serbin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/8533 )

Change subject: Add initial internal INT128/__int128 support
......................................................................


Patch Set 7:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/8533/7/src/kudu/util/int128-test.cc
File src/kudu/util/int128-test.cc:

http://gerrit.cloudera.org:8080/#/c/8533/7/src/kudu/util/int128-test.cc@39
PS7, Line 39: {0, 1, 1234567890};
> INT128_MAX * 2 will result in a compilation error with "warning: overflow i
Is that an error or it's just a warning?

Anyway, I guess I meant ((INT128_MAX - 1) * 2 - 1) or maybe just (INT128_MAX - 
1) * 2.

What about static_cast<uint128_t>(-1)?  Does it produce the assumed 2^128 - 1?  
Or it should be something else?



--
To view, visit http://gerrit.cloudera.org:8080/8533
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I36458a54dfdd28be03f80d83688c0d658944e8e1
Gerrit-Change-Number: 8533
Gerrit-PatchSet: 7
Gerrit-Owner: Grant Henke <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot
Gerrit-Comment-Date: Wed, 15 Nov 2017 23:23:11 +0000
Gerrit-HasComments: Yes

Reply via email to