touchgfx::CWRUtil::muldivQ5() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

touchgfx::CWRUtil::muldivQ5() method

@fn static Q5 muldivQ5(Q5 factor1, Q5 factor2, Q5 divisor) Multiply two Q5's and divide by a Q5 without overflowing the multiplication. Multiply two Q5's and divide by a Q5 without overflowing the multiplication (assuming that the final result can be stored in a Q5).

Syntax

static Q5 muldivQ5(Q5 factor1,     Q5 factor2,     Q5 divisor);

Arguments

factor1

The first factor.

factor2

The second factor.

divisor

The divisor.

Return value

factor1 * factor2 / divisor.

References

LocationReferrerScopeText
CWRUtil.hpp:819
static Q5 muldivQ5(Q5 factor1, Q5 factor2, Q5 divisor)
CWRUtil.hpp:839touchgfx::CWRUtil::mulQ5()touchgfx::CWRUtil
return muldivQ5(factor1, factor2, CWRUtil::toQ5<int>(1));

Call Tree

Functions calling touchgfx::CWRUtil::muldivQ5()
Functions called by touchgfx::CWRUtil::muldivQ5()
all items filtered out
touchgfx::CWRUtil::muldivQ5()
touchgfx::CWRUtil::Q5::operator int() const
touchgfx::CWRUtil::Q5::~Q5()
all items filtered out
Data read by touchgfx::CWRUtil::muldivQ5()
touchgfx::CWRUtil::muldivQ5()
Type of touchgfx::CWRUtil::muldivQ5()
touchgfx::CWRUtil::muldivQ5()
int32_t
all items filtered out