Lines Matching refs:rootL

49 	uint32 rootL = 0;  in bbs_sqrt32()  local
57 case 15: rootL += ( ( rootL + 0x8000 ) * ( rootL + 0x8000 ) <= valA ) << 15; in bbs_sqrt32()
58 case 14: rootL += ( ( rootL + 0x4000 ) * ( rootL + 0x4000 ) <= valA ) << 14; in bbs_sqrt32()
59 case 13: rootL += ( ( rootL + 0x2000 ) * ( rootL + 0x2000 ) <= valA ) << 13; in bbs_sqrt32()
60 case 12: rootL += ( ( rootL + 0x1000 ) * ( rootL + 0x1000 ) <= valA ) << 12; in bbs_sqrt32()
61 case 11: rootL += ( ( rootL + 0x0800 ) * ( rootL + 0x0800 ) <= valA ) << 11; in bbs_sqrt32()
62 case 10: rootL += ( ( rootL + 0x0400 ) * ( rootL + 0x0400 ) <= valA ) << 10; in bbs_sqrt32()
63 case 9: rootL += ( ( rootL + 0x0200 ) * ( rootL + 0x0200 ) <= valA ) << 9; in bbs_sqrt32()
64 case 8: rootL += ( ( rootL + 0x0100 ) * ( rootL + 0x0100 ) <= valA ) << 8; in bbs_sqrt32()
65 case 7: rootL += ( ( rootL + 0x0080 ) * ( rootL + 0x0080 ) <= valA ) << 7; in bbs_sqrt32()
66 case 6: rootL += ( ( rootL + 0x0040 ) * ( rootL + 0x0040 ) <= valA ) << 6; in bbs_sqrt32()
67 case 5: rootL += ( ( rootL + 0x0020 ) * ( rootL + 0x0020 ) <= valA ) << 5; in bbs_sqrt32()
68 case 4: rootL += ( ( rootL + 0x0010 ) * ( rootL + 0x0010 ) <= valA ) << 4; in bbs_sqrt32()
69 case 3: rootL += ( ( rootL + 0x0008 ) * ( rootL + 0x0008 ) <= valA ) << 3; in bbs_sqrt32()
70 case 2: rootL += ( ( rootL + 0x0004 ) * ( rootL + 0x0004 ) <= valA ) << 2; in bbs_sqrt32()
71 case 1: rootL += ( ( rootL + 0x0002 ) * ( rootL + 0x0002 ) <= valA ) << 1; in bbs_sqrt32()
72 case 0: rootL += ( ( rootL + 0x0001 ) * ( rootL + 0x0001 ) <= valA ) << 0; in bbs_sqrt32()
75 return ( uint16 )rootL; in bbs_sqrt32()
82 uint16 rootL = 0; in bbs_sqrt16() local
83 rootL += ( ( rootL + 0x80 ) * ( rootL + 0x80 ) <= valA ) << 7; in bbs_sqrt16()
84 rootL += ( ( rootL + 0x40 ) * ( rootL + 0x40 ) <= valA ) << 6; in bbs_sqrt16()
85 rootL += ( ( rootL + 0x20 ) * ( rootL + 0x20 ) <= valA ) << 5; in bbs_sqrt16()
86 rootL += ( ( rootL + 0x10 ) * ( rootL + 0x10 ) <= valA ) << 4; in bbs_sqrt16()
87 rootL += ( ( rootL + 0x08 ) * ( rootL + 0x08 ) <= valA ) << 3; in bbs_sqrt16()
88 rootL += ( ( rootL + 0x04 ) * ( rootL + 0x04 ) <= valA ) << 2; in bbs_sqrt16()
89 rootL += ( ( rootL + 0x02 ) * ( rootL + 0x02 ) <= valA ) << 1; in bbs_sqrt16()
90 rootL += ( ( rootL + 0x01 ) * ( rootL + 0x01 ) <= valA ) << 0; in bbs_sqrt16()
91 return ( uint8 )rootL; in bbs_sqrt16()