Searched refs:normL (Results 1 – 6 of 6) sorted by relevance
135 int32 normL = bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + in bts_Int16Vec3D_normalize() local139 int32 xL = ( ( int32 )ptrA->xE << 16 ) / normL; in bts_Int16Vec3D_normalize()140 int32 yL = ( ( int32 )ptrA->yE << 16 ) / normL; in bts_Int16Vec3D_normalize()141 int32 zL = ( ( int32 )ptrA->zE << 16 ) / normL; in bts_Int16Vec3D_normalize()
281 uint32 normL = bts_Flt16Vec_norm( cpA, ptrA ); in bts_Flt16Vec_normalize() local283 if( normL == 0 ) in bts_Flt16Vec_normalize()297 if( ( normL & 0xFFFE0000 ) != 0 ) in bts_Flt16Vec_normalize()299 while( ( ( normL >> -expL ) & 0xFFFE0000 ) != 0 ) expL--; in bts_Flt16Vec_normalize()300 normL >>= -expL; in bts_Flt16Vec_normalize()304 while( ( ( normL << expL ) & 0xFFFF0000 ) == 0 ) expL++; in bts_Flt16Vec_normalize()305 normL <<= expL; in bts_Flt16Vec_normalize()309 fL = ( uint32 )0xFFFFFFFF / normL; in bts_Flt16Vec_normalize()
153 int32 normL = bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + ( int32 ) ptrA->yE * ptrA->yE ); in bts_Int16Vec2D_normalize() local154 int32 xL = ( ( int32 ) ptrA->xE << 16 ) / normL; in bts_Int16Vec2D_normalize()155 int32 yL = ( ( int32 ) ptrA->yE << 16 ) / normL; in bts_Int16Vec2D_normalize()
227 int32 normL = 0; in bts_RBFMap2D_compute() local231 normL = bts_Int16Vec2D_norm( &vecL ); in bts_RBFMap2D_compute()232 *ptrL++ = normL << internalShiftL; in bts_RBFMap2D_compute()501 int32 normL = 0; in bts_RBFMap2D_mapVector() local504 normL = bts_Int16Vec2D_norm( &vecL ); in bts_RBFMap2D_mapVector()508 xSumL += ( normL * ptrA->rbfCoeffClusterE.vecArrE[ iL ].xE ) >> shiftL; in bts_RBFMap2D_mapVector()509 ySumL += ( normL * ptrA->rbfCoeffClusterE.vecArrE[ iL ].yE ) >> shiftL; in bts_RBFMap2D_mapVector()
235 int32 normL = bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + in bts_Flt16Vec3D_normalize() local239 int32 xL = ( ( int32 ) ptrA->xE << 16 ) / normL; in bts_Flt16Vec3D_normalize()240 int32 yL = ( ( int32 ) ptrA->yE << 16 ) / normL; in bts_Flt16Vec3D_normalize()241 int32 zL = ( ( int32 ) ptrA->zE << 16 ) / normL; in bts_Flt16Vec3D_normalize()
225 int32 normL = bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + ( int32 ) ptrA->yE * ptrA->yE ); in bts_Flt16Vec2D_normalize() local226 int32 xL = ( ( int32 ) ptrA->xE << 16 ) / normL; in bts_Flt16Vec2D_normalize()227 int32 yL = ( ( int32 ) ptrA->yE << 16 ) / normL; in bts_Flt16Vec2D_normalize()