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

Function operator+

dlib/bigint/bigint_kernel_2.cpp:517–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515// ----------------------------------------------------------------------------------------
516
517 const bigint_kernel_2 operator+ (
518 uint16 lhs,
519 const bigint_kernel_2& rhs
520 )
521 {
522 typedef bigint_kernel_2 bigint;
523 bigint::data_record* temp = new bigint::data_record
524 (rhs.data->digits_used+rhs.slack);
525
526 rhs.short_add(rhs.data,lhs,temp);
527 return bigint_kernel_2(temp,0);
528 }
529
530// ----------------------------------------------------------------------------------------
531

Callers

nothing calls this directly

Calls 1

bigint_kernel_2Class · 0.85

Tested by

no test coverage detected