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

Function operator*

dlib/bigint/bigint_kernel_2.cpp:630–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

bigint_kernel_2Class · 0.85

Tested by

no test coverage detected