Lines Matching refs:expDiff
1033 int16 expDiff; in addFloat32Sigs() local
1039 expDiff = aExp - bExp; in addFloat32Sigs()
1042 if ( 0 < expDiff ) { in addFloat32Sigs()
1048 --expDiff; in addFloat32Sigs()
1053 shift32RightJamming( bSig, expDiff, &bSig ); in addFloat32Sigs()
1056 else if ( expDiff < 0 ) { in addFloat32Sigs()
1062 ++expDiff; in addFloat32Sigs()
1067 shift32RightJamming( aSig, - expDiff, &aSig ); in addFloat32Sigs()
1105 int16 expDiff; in subFloat32Sigs() local
1111 expDiff = aExp - bExp; in subFloat32Sigs()
1114 if ( 0 < expDiff ) goto aExpBigger; in subFloat32Sigs()
1115 if ( expDiff < 0 ) goto bExpBigger; in subFloat32Sigs()
1134 ++expDiff; in subFloat32Sigs()
1139 shift32RightJamming( aSig, - expDiff, &aSig ); in subFloat32Sigs()
1152 --expDiff; in subFloat32Sigs()
1157 shift32RightJamming( bSig, expDiff, &bSig ); in subFloat32Sigs()
1350 int16 aExp, bExp, expDiff; in float32_rem() local
1385 expDiff = aExp - bExp; in float32_rem()
1388 if ( expDiff < 32 ) { in float32_rem()
1391 if ( expDiff < 0 ) { in float32_rem()
1392 if ( expDiff < -1 ) return a; in float32_rem()
1397 if ( 0 < expDiff ) { in float32_rem()
1401 q >>= 32 - expDiff; in float32_rem()
1403 aSig = ( ( aSig>>1 )<<( expDiff - 1 ) ) - bSig * q; in float32_rem()
1414 expDiff -= 64; in float32_rem()
1415 while ( 0 < expDiff ) { in float32_rem()
1419 expDiff -= 62; in float32_rem()
1421 expDiff += 64; in float32_rem()
1424 q = q64>>( 64 - expDiff ); in float32_rem()
1426 aSig = ( ( aSig64>>33 )<<( expDiff - 1 ) ) - bSig * q; in float32_rem()
1929 int16 expDiff; in addFloat64Sigs() local
1935 expDiff = aExp - bExp; in addFloat64Sigs()
1938 if ( 0 < expDiff ) { in addFloat64Sigs()
1944 --expDiff; in addFloat64Sigs()
1949 shift64RightJamming( bSig, expDiff, &bSig ); in addFloat64Sigs()
1952 else if ( expDiff < 0 ) { in addFloat64Sigs()
1958 ++expDiff; in addFloat64Sigs()
1963 shift64RightJamming( aSig, - expDiff, &aSig ); in addFloat64Sigs()
2001 int16 expDiff; in subFloat64Sigs() local
2007 expDiff = aExp - bExp; in subFloat64Sigs()
2010 if ( 0 < expDiff ) goto aExpBigger; in subFloat64Sigs()
2011 if ( expDiff < 0 ) goto bExpBigger; in subFloat64Sigs()
2030 ++expDiff; in subFloat64Sigs()
2035 shift64RightJamming( aSig, - expDiff, &aSig ); in subFloat64Sigs()
2048 --expDiff; in subFloat64Sigs()
2053 shift64RightJamming( bSig, expDiff, &bSig ); in subFloat64Sigs()
2248 int16 aExp, bExp, expDiff; in float64_rem() local
2281 expDiff = aExp - bExp; in float64_rem()
2284 if ( expDiff < 0 ) { in float64_rem()
2285 if ( expDiff < -1 ) return a; in float64_rem()
2290 expDiff -= 64; in float64_rem()
2291 while ( 0 < expDiff ) { in float64_rem()
2295 expDiff -= 62; in float64_rem()
2297 expDiff += 64; in float64_rem()
2298 if ( 0 < expDiff ) { in float64_rem()
2301 q >>= 64 - expDiff; in float64_rem()
2303 aSig = ( ( aSig>>1 )<<( expDiff - 1 ) ) - bSig * q; in float64_rem()
2749 int32 expDiff; in addFloatx80Sigs() local
2755 expDiff = aExp - bExp; in addFloatx80Sigs()
2756 if ( 0 < expDiff ) { in addFloatx80Sigs()
2761 if ( bExp == 0 ) --expDiff; in addFloatx80Sigs()
2762 shift64ExtraRightJamming( bSig, 0, expDiff, &bSig, &zSig1 ); in addFloatx80Sigs()
2765 else if ( expDiff < 0 ) { in addFloatx80Sigs()
2770 if ( aExp == 0 ) ++expDiff; in addFloatx80Sigs()
2771 shift64ExtraRightJamming( aSig, 0, - expDiff, &aSig, &zSig1 ); in addFloatx80Sigs()
2818 int32 expDiff; in subFloatx80Sigs() local
2825 expDiff = aExp - bExp; in subFloatx80Sigs()
2826 if ( 0 < expDiff ) goto aExpBigger; in subFloatx80Sigs()
2827 if ( expDiff < 0 ) goto bExpBigger; in subFloatx80Sigs()
2851 if ( aExp == 0 ) ++expDiff; in subFloatx80Sigs()
2852 shift128RightJamming( aSig, 0, - expDiff, &aSig, &zSig1 ); in subFloatx80Sigs()
2863 if ( bExp == 0 ) --expDiff; in subFloatx80Sigs()
2864 shift128RightJamming( bSig, 0, expDiff, &bSig, &zSig1 ); in subFloatx80Sigs()
3072 int32 aExp, bExp, expDiff; in floatx80_rem() local
3111 expDiff = aExp - bExp; in floatx80_rem()
3113 if ( expDiff < 0 ) { in floatx80_rem()
3114 if ( expDiff < -1 ) return a; in floatx80_rem()
3116 expDiff = 0; in floatx80_rem()
3120 expDiff -= 64; in floatx80_rem()
3121 while ( 0 < expDiff ) { in floatx80_rem()
3127 expDiff -= 62; in floatx80_rem()
3129 expDiff += 64; in floatx80_rem()
3130 if ( 0 < expDiff ) { in floatx80_rem()
3133 q >>= 64 - expDiff; in floatx80_rem()
3134 mul64To128( bSig, q<<( 64 - expDiff ), &term0, &term1 ); in floatx80_rem()
3136 shortShift128Left( 0, bSig, 64 - expDiff, &term0, &term1 ); in floatx80_rem()
3158 roundData, zSign, bExp + expDiff, aSig0, aSig1 ); in floatx80_rem()