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

Function operator/

dlib/bigint/bigint_kernel_2.cpp:690–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688// ----------------------------------------------------------------------------------------
689
690 const bigint_kernel_2 operator/ (
691 uint16 lhs,
692 const bigint_kernel_2& rhs
693 )
694 {
695 typedef bigint_kernel_2 bigint;
696 bigint::data_record* temp = new bigint::data_record(rhs.slack);
697
698 // if rhs might not be bigger than lhs
699 if (rhs.data->digits_used == 1)
700 {
701 *(temp->number) = lhs/ *(rhs.data->number);
702 }
703
704 return bigint_kernel_2(temp,0);
705 }
706
707// ----------------------------------------------------------------------------------------
708

Callers

nothing calls this directly

Calls 1

bigint_kernel_2Class · 0.85

Tested by

no test coverage detected