MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / GetHighHalfAsBorrow

Method GetHighHalfAsBorrow

extra/yassl/taocrypt/src/integer.cpp:348–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346 hword GetLowHalf() const {return hword(whole_);}
347 hword GetHighHalf() const {return hword(whole_>>(WORD_BITS/2));}
348 hword GetHighHalfAsBorrow() const {return 0-hword(whole_>>(WORD_BITS/2));}
349
350private:
351 word whole_;

Callers 2

DivideThreeWordsByTwoFunction · 0.45
SubtractMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected