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

Method operator-

dlib/bigint/bigint_kernel_2.cpp:116–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114// ----------------------------------------------------------------------------------------
115
116 const bigint_kernel_2 bigint_kernel_2::
117 operator- (
118 const bigint_kernel_2& rhs
119 ) const
120 {
121 data_record* temp = new data_record (
122 data->digits_used + slack
123 );
124 long_sub(data,rhs.data,temp);
125 return bigint_kernel_2(temp,0);
126 }
127
128// ----------------------------------------------------------------------------------------
129

Callers

nothing calls this directly

Calls 1

bigint_kernel_2Class · 0.85

Tested by

no test coverage detected