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

Function operator-

dlib/bigint/bigint_kernel_1.cpp:577–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

bigint_kernel_1Class · 0.85

Tested by

no test coverage detected