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

Method GetHighHalf

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

Source from the content-addressed store, hash-verified

345 word GetWhole() const {return whole_;}
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:

Callers 15

DivideThreeWordsByTwoFunction · 0.45
DivideFourWordsByTwoFunction · 0.45
LinearMultiplyFunction · 0.45
AddMethod · 0.45
SubtractMethod · 0.45
Multiply2Method · 0.45
Multiply2BottomMethod · 0.45
Multiply2AddMethod · 0.45
Multiply4Method · 0.45
Square2Method · 0.45
Square4Method · 0.45
Multiply8Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected