MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / Mul

Method Mul

extern/ttmath/ttmathuint.h:882–899  ·  view source on GitHub ↗

! the multiplication 'this' = 'this' * ss2 algorithm: 100 - means automatically choose the fastest algorithm */

Source from the content-addressed store, hash-verified

880 algorithm: 100 - means automatically choose the fastest algorithm
881 */
882 uint Mul(const UInt<value_size> & ss2, uint algorithm = 100)
883 {
884 switch( algorithm )
885 {
886 case 1:
887 return Mul1(ss2);
888
889 case 2:
890 return Mul2(ss2);
891
892 case 3:
893 return Mul3(ss2);
894
895 case 100:
896 default:
897 return MulFastest(ss2);
898 }
899 }
900
901
902 /*!

Callers 2

PowMethod · 0.45
operator*Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected