Lines Matching refs:op_m
645 invCubeRootNorm2(FIXP_DBL op_m, INT* op_e) in invCubeRootNorm2() argument
648 invCubeRootNorm2(FIXP_DBL op_m, INT* op_e) in invCubeRootNorm2()
651 FDK_ASSERT(op_m > FIXP_DBL(0)); in invCubeRootNorm2()
654 INT exponent = (INT)fNormz(op_m) - 1; in invCubeRootNorm2()
655 op_m <<= exponent; in invCubeRootNorm2()
657 INT index = (INT)(op_m >> (DFRACT_BITS - 1 - (CUBE_ROOT_BITS + 1))) & in invCubeRootNorm2()
659 FIXP_DBL fract = (FIXP_DBL)(((INT)op_m & CUBE_ROOT_FRACT_BITS_MASK) in invCubeRootNorm2()
662 op_m = fMultAddDiv2(invCubeRootTab[index], diff << 1, fract); in invCubeRootNorm2()
670 op_m = fMultAddDiv2(op_m, fract, diff); in invCubeRootNorm2()
689 op_m = fMultDiv2(op_m, invCubeRootCorrection[rem]) << 2; in invCubeRootNorm2()
691 return (op_m); in invCubeRootNorm2()
767 invFourthRootNorm2(FIXP_DBL op_m, INT* op_e) in invFourthRootNorm2() argument
770 invFourthRootNorm2(FIXP_DBL op_m, INT* op_e) in invFourthRootNorm2()
773 FDK_ASSERT(op_m > FL2FXCONST_DBL(0.0)); in invFourthRootNorm2()
776 INT exponent = (INT)fNormz(op_m) - 1; in invFourthRootNorm2()
777 op_m <<= exponent; in invFourthRootNorm2()
779 INT index = (INT)(op_m >> (DFRACT_BITS - 1 - (FOURTHROOT_BITS + 1))) & in invFourthRootNorm2()
781 FIXP_DBL fract = (FIXP_DBL)(((INT)op_m & FOURTHROOT_FRACT_BITS_MASK) in invFourthRootNorm2()
784 op_m = invFourthRootTab[index] + (fMultDiv2(diff, fract) << 1); in invFourthRootNorm2()
793 op_m = fMultAddDiv2(op_m, fract, diff); in invFourthRootNorm2()
802 op_m = fMultDiv2(op_m, invFourthRootCorrection[rem]) << 2; in invFourthRootNorm2()
804 return (op_m); in invFourthRootNorm2()
883 inv3EigthRootNorm2(FIXP_DBL op_m, INT* op_e) in inv3EigthRootNorm2() argument
886 inv3EigthRootNorm2(FIXP_DBL op_m, INT* op_e) in inv3EigthRootNorm2()
889 FDK_ASSERT(op_m > FL2FXCONST_DBL(0.0)); in inv3EigthRootNorm2()
892 INT exponent = (INT)fNormz(op_m) - 1; in inv3EigthRootNorm2()
893 op_m <<= exponent; in inv3EigthRootNorm2()
895 INT index = (INT)(op_m >> (DFRACT_BITS - 1 - (THREEIGTHROOT_BITS + 1))) & in inv3EigthRootNorm2()
897 FIXP_DBL fract = (FIXP_DBL)(((INT)op_m & THREEIGTHROOT_FRACT_BITS_MASK) in inv3EigthRootNorm2()
900 op_m = inv3EigthRootTab[index] + (fMultDiv2(diff, fract) << 1); in inv3EigthRootNorm2()
909 op_m = fMultAddDiv2(op_m, fract, diff); in inv3EigthRootNorm2()
918 op_m = fMultDiv2(op_m, inv3EigthRootCorrection[rem]) << 2; in inv3EigthRootNorm2()
920 return (fMult(op_m, fMult(op_m, op_m))); in inv3EigthRootNorm2()