MCPcopy Create free account
hub / github.com/davisking/dlib / operator-

Function operator-

dlib/bigint/bigint_kernel_2.cpp:578–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576// ----------------------------------------------------------------------------------------
577
578 const bigint_kernel_2 operator- (
579 uint16 lhs,
580 const bigint_kernel_2& rhs
581 )
582 {
583 typedef bigint_kernel_2 bigint;
584 bigint::data_record* temp = new bigint::data_record(rhs.slack);
585
586 *(temp->number) = lhs - *(rhs.data->number);
587
588 return bigint_kernel_2(temp,0);
589 }
590
591// ----------------------------------------------------------------------------------------
592

Callers

nothing calls this directly

Calls 1

bigint_kernel_2Class · 0.85

Tested by

no test coverage detected