Prusa Slicer
2.6.0
Loading...
Searching...
No Matches
Static Public Member Functions
|
List of all members
agg::mul_one< Shift > Struct Template Reference
#include <
src/agg/agg_basics.h
>
Static Public Member Functions
static
AGG_INLINE
unsigned
mul
(unsigned a, unsigned b)
Detailed Description
template<unsigned Shift>
struct agg::mul_one< Shift >
Member Function Documentation
◆
mul()
template<unsigned Shift>
static
AGG_INLINE
unsigned
agg::mul_one
< Shift >::mul
(
unsigned
a
,
unsigned
b
)
inline
static
230
{
231
unsigned
q =
a
*
b
+ (1 << (Shift-1));
232
return
(q + (q >> Shift)) >> Shift;
233
}
marchsq::__impl::SquareTag::a
@ a
marchsq::__impl::SquareTag::b
@ b
The documentation for this struct was generated from the following file:
src/agg/
agg_basics.h
agg
mul_one
Generated by
1.9.8