Home
last modified time | relevance | path

Searched refs:mpart (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/util/
Du_math.h115 float fpart, mpart; in util_fast_exp2() local
133 mpart = pow2_table[POW2_TABLE_OFFSET + (int)(fpart * POW2_TABLE_SCALE)]; in util_fast_exp2()
135 return epart.f * mpart; in util_fast_exp2()
163 float epart, mpart; in util_fast_log2() local
167mpart = log2_table[((num.i & 0x007fffff) + (1 << (22 - LOG2_TABLE_SIZE_LOG2))) >> (23 - LOG2_TABLE… in util_fast_log2()
168 return epart + mpart; in util_fast_log2()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_math.h261 float fpart, mpart; in util_fast_exp2() local
279 mpart = pow2_table[POW2_TABLE_OFFSET + (int)(fpart * POW2_TABLE_SCALE)]; in util_fast_exp2()
281 return epart.f * mpart; in util_fast_exp2()
311 float epart, mpart;
315mpart = log2_table[((num.i & 0x007fffff) + (1 << (22 - LOG2_TABLE_SIZE_LOG2))) >> (23 - LOG2_TABLE…
316 return epart + mpart;