Lines Matching refs:x

351 FExpLn2(f32 x)  in FExpLn2()  argument
359 fidx = (x + F_LN2) * (32 / (2 * F_LN2)); in FExpLn2()
379 FLog1_2(f32 x) in FLog1_2() argument
387 fidx = (x - 1) * 256.f; // 0 <= fidx < 256 in FLog1_2()
416 FExp(f32 x) in FExp() argument
434 k = F32ToS16(F_INVLN2 * x); in FExp()
436 xn = x - kf * F_LN2; in FExp()
467 FLog(f32 x) in FLog() argument
483 k = FGetExpPart(x); in FLog()
484 xn = FGetMantPart(x); in FLog()
559 u32 CntBit1(u32 x) in CntBit1() argument
561 x = x - ((x >> 1) & 0x55555555); in CntBit1()
562 x = (x & 0x33333333) + ((x >> 2) & 0x33333333); in CntBit1()
563 x = (x + (x >> 4)) & 0x0f0f0f0f; in CntBit1()
564 x = x + (x >> 8); in CntBit1()
565 x = x + (x >> 16); in CntBit1()
566 return x & 0x0000003f; in CntBit1()
587 unsigned int ss, x; in CntBit1() local
595 x = *(first + j); in CntBit1()
596 x -= ((x >> 1) & 0x55555555); in CntBit1()
597 x = (x & 0x33333333) + ((x >> 2) & 0x33333333); in CntBit1()
598 x = (x + (x >> 4)) & 0x0f0f0f0f; in CntBit1()
599 ss += x; in CntBit1()
601 x = (ss & 0x00ff00ff) + ((ss >> 8) & 0x00ff00ff); in CntBit1()
602 x = (x & 0x0000ffff) + (x >> 16); in CntBit1()
603 s += x; in CntBit1()
644 u32 RevBit(u32 x) in RevBit() argument
646 x = ((x & 0x55555555) << 1) | ((x >> 1) & 0x55555555); in RevBit()
647 x = ((x & 0x33333333) << 2) | ((x >> 2) & 0x33333333); in RevBit()
648 x = ((x & 0x0f0f0f0f) << 4) | ((x >> 4) & 0x0f0f0f0f); in RevBit()
649 x = (x << 24) | ((x & 0xff00) << 8) | ((x >> 8) & 0xff00) | (x >> 24); in RevBit()
651 return x; in RevBit()
666 IExp(int x, u32 n) in IExp() argument
671 p = x; in IExp()
691 u32 ILog10(u32 x) in ILog10() argument
698 y = (19 * (31 - CntLz(x))) >> 6; in ILog10()
699 y += ((table2[y + 1] - x) >> 31); in ILog10()
719 CntLz_(u32 x) in CntLz_() argument
727 y = x >> c; in CntLz_()
730 n -= c; x = y; in CntLz_()
734 return n - x; in CntLz_()