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

Method Multiply2Bottom

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

Source from the content-addressed store, hash-verified

642}
643
644void Portable::Multiply2Bottom(word *C, const word *A, const word *B)
645{
646 DWord t = DWord::Multiply(A[0], B[0]);
647 C[0] = t.GetLowHalf();
648 C[1] = t.GetHighHalf() + A[0]*B[1] + A[1]*B[0];
649}
650
651word Portable::Multiply2Add(word *C, const word *A, const word *B)
652{

Callers

nothing calls this directly

Calls 2

GetLowHalfMethod · 0.45
GetHighHalfMethod · 0.45

Tested by

no test coverage detected