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

Function operator*

dlib/bigint/bigint_kernel_1.cpp:629–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627// ----------------------------------------------------------------------------------------
628
629 const bigint_kernel_1 operator* (
630 uint16 lhs,
631 const bigint_kernel_1& rhs
632 )
633 {
634 typedef bigint_kernel_1 bigint;
635 bigint::data_record* temp = new bigint::data_record
636 (rhs.data->digits_used+rhs.slack);
637
638 rhs.short_mul(rhs.data,lhs,temp);
639 return bigint_kernel_1(temp,0);
640 }
641
642// ----------------------------------------------------------------------------------------
643

Callers

nothing calls this directly

Calls 1

bigint_kernel_1Class · 0.85

Tested by

no test coverage detected