亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? softfloat.c

?? linux-2.6.15.6
?? C
?? 第 1 頁 / 共 5 頁
字號:
a subnormal number, and the underflow and inexact exceptions are raised ifthe abstract input cannot be represented exactly as a subnormal double-precision floating-point number.    The input significand `zSig' has its binary point between bits 62and 61, which is 10 bits to the left of the usual location.  This shiftedsignificand must be normalized or smaller.  If `zSig' is not normalized,`zExp' must be 0; in that case, the result returned is a subnormal number,and it must not require rounding.  In the usual case that `zSig' isnormalized, `zExp' must be 1 less than the ``true'' floating-point exponent.The handling of underflow and overflow follows the IEC/IEEE Standard forBinary Floating-point Arithmetic.-------------------------------------------------------------------------------*/static float64 roundAndPackFloat64( flag zSign, int16 zExp, bits64 zSig ){    int8 roundingMode;    flag roundNearestEven;    int16 roundIncrement, roundBits;    flag isTiny;    roundingMode = float_rounding_mode;    roundNearestEven = ( roundingMode == float_round_nearest_even );    roundIncrement = 0x200;    if ( ! roundNearestEven ) {        if ( roundingMode == float_round_to_zero ) {            roundIncrement = 0;        }        else {            roundIncrement = 0x3FF;            if ( zSign ) {                if ( roundingMode == float_round_up ) roundIncrement = 0;            }            else {                if ( roundingMode == float_round_down ) roundIncrement = 0;            }        }    }    roundBits = zSig & 0x3FF;    if ( 0x7FD <= (bits16) zExp ) {        if (    ( 0x7FD < zExp )             || (    ( zExp == 0x7FD )                  && ( (sbits64) ( zSig + roundIncrement ) < 0 ) )           ) {            //register int lr = __builtin_return_address(0);            //printk("roundAndPackFloat64 called from 0x%08x\n",lr);            float_raise( float_flag_overflow | float_flag_inexact );            return packFloat64( zSign, 0x7FF, 0 ) - ( roundIncrement == 0 );        }        if ( zExp < 0 ) {            isTiny =                   ( float_detect_tininess == float_tininess_before_rounding )                || ( zExp < -1 )                || ( zSig + roundIncrement < LIT64( 0x8000000000000000 ) );            shift64RightJamming( zSig, - zExp, &zSig );            zExp = 0;            roundBits = zSig & 0x3FF;            if ( isTiny && roundBits ) float_raise( float_flag_underflow );        }    }    if ( roundBits ) float_exception_flags |= float_flag_inexact;    zSig = ( zSig + roundIncrement )>>10;    zSig &= ~ ( ( ( roundBits ^ 0x200 ) == 0 ) & roundNearestEven );    if ( zSig == 0 ) zExp = 0;    return packFloat64( zSign, zExp, zSig );}/*-------------------------------------------------------------------------------Takes an abstract floating-point value having sign `zSign', exponent `zExp',and significand `zSig', and returns the proper double-precision floating-point value corresponding to the abstract input.  This routine is just like`roundAndPackFloat64' except that `zSig' does not have to be normalized inany way.  In all cases, `zExp' must be 1 less than the ``true'' floating-point exponent.-------------------------------------------------------------------------------*/static float64 normalizeRoundAndPackFloat64( flag zSign, int16 zExp, bits64 zSig ){    int8 shiftCount;    shiftCount = countLeadingZeros64( zSig ) - 1;    return roundAndPackFloat64( zSign, zExp - shiftCount, zSig<<shiftCount );}#ifdef FLOATX80/*-------------------------------------------------------------------------------Returns the fraction bits of the extended double-precision floating-pointvalue `a'.-------------------------------------------------------------------------------*/INLINE bits64 extractFloatx80Frac( floatx80 a ){    return a.low;}/*-------------------------------------------------------------------------------Returns the exponent bits of the extended double-precision floating-pointvalue `a'.-------------------------------------------------------------------------------*/INLINE int32 extractFloatx80Exp( floatx80 a ){    return a.high & 0x7FFF;}/*-------------------------------------------------------------------------------Returns the sign bit of the extended double-precision floating-point value`a'.-------------------------------------------------------------------------------*/INLINE flag extractFloatx80Sign( floatx80 a ){    return a.high>>15;}/*-------------------------------------------------------------------------------Normalizes the subnormal extended double-precision floating-point valuerepresented by the denormalized significand `aSig'.  The normalized exponentand significand are stored at the locations pointed to by `zExpPtr' and`zSigPtr', respectively.-------------------------------------------------------------------------------*/static void normalizeFloatx80Subnormal( bits64 aSig, int32 *zExpPtr, bits64 *zSigPtr ){    int8 shiftCount;    shiftCount = countLeadingZeros64( aSig );    *zSigPtr = aSig<<shiftCount;    *zExpPtr = 1 - shiftCount;}/*-------------------------------------------------------------------------------Packs the sign `zSign', exponent `zExp', and significand `zSig' into anextended double-precision floating-point value, returning the result.-------------------------------------------------------------------------------*/INLINE floatx80 packFloatx80( flag zSign, int32 zExp, bits64 zSig ){    floatx80 z;    z.low = zSig;    z.high = ( ( (bits16) zSign )<<15 ) + zExp;    return z;}/*-------------------------------------------------------------------------------Takes an abstract floating-point value having sign `zSign', exponent `zExp',and extended significand formed by the concatenation of `zSig0' and `zSig1',and returns the proper extended double-precision floating-point valuecorresponding to the abstract input.  Ordinarily, the abstract value isrounded and packed into the extended double-precision format, with theinexact exception raised if the abstract input cannot be representedexactly.  If the abstract value is too large, however, the overflow andinexact exceptions are raised and an infinity or maximal finite value isreturned.  If the abstract value is too small, the input value is rounded toa subnormal number, and the underflow and inexact exceptions are raised ifthe abstract input cannot be represented exactly as a subnormal extendeddouble-precision floating-point number.    If `roundingPrecision' is 32 or 64, the result is rounded to the samenumber of bits as single or double precision, respectively.  Otherwise, theresult is rounded to the full precision of the extended double-precisionformat.    The input significand must be normalized or smaller.  If the inputsignificand is not normalized, `zExp' must be 0; in that case, the resultreturned is a subnormal number, and it must not require rounding.  Thehandling of underflow and overflow follows the IEC/IEEE Standard for BinaryFloating-point Arithmetic.-------------------------------------------------------------------------------*/static floatx80 roundAndPackFloatx80(     int8 roundingPrecision, flag zSign, int32 zExp, bits64 zSig0, bits64 zSig1 ){    int8 roundingMode;    flag roundNearestEven, increment, isTiny;    int64 roundIncrement, roundMask, roundBits;    roundingMode = float_rounding_mode;    roundNearestEven = ( roundingMode == float_round_nearest_even );    if ( roundingPrecision == 80 ) goto precision80;    if ( roundingPrecision == 64 ) {        roundIncrement = LIT64( 0x0000000000000400 );        roundMask = LIT64( 0x00000000000007FF );    }    else if ( roundingPrecision == 32 ) {        roundIncrement = LIT64( 0x0000008000000000 );        roundMask = LIT64( 0x000000FFFFFFFFFF );    }    else {        goto precision80;    }    zSig0 |= ( zSig1 != 0 );    if ( ! roundNearestEven ) {        if ( roundingMode == float_round_to_zero ) {            roundIncrement = 0;        }        else {            roundIncrement = roundMask;            if ( zSign ) {                if ( roundingMode == float_round_up ) roundIncrement = 0;            }            else {                if ( roundingMode == float_round_down ) roundIncrement = 0;            }        }    }    roundBits = zSig0 & roundMask;    if ( 0x7FFD <= (bits32) ( zExp - 1 ) ) {        if (    ( 0x7FFE < zExp )             || ( ( zExp == 0x7FFE ) && ( zSig0 + roundIncrement < zSig0 ) )           ) {            goto overflow;        }        if ( zExp <= 0 ) {            isTiny =                   ( float_detect_tininess == float_tininess_before_rounding )                || ( zExp < 0 )                || ( zSig0 <= zSig0 + roundIncrement );            shift64RightJamming( zSig0, 1 - zExp, &zSig0 );            zExp = 0;            roundBits = zSig0 & roundMask;            if ( isTiny && roundBits ) float_raise( float_flag_underflow );            if ( roundBits ) float_exception_flags |= float_flag_inexact;            zSig0 += roundIncrement;            if ( (sbits64) zSig0 < 0 ) zExp = 1;            roundIncrement = roundMask + 1;            if ( roundNearestEven && ( roundBits<<1 == roundIncrement ) ) {                roundMask |= roundIncrement;            }            zSig0 &= ~ roundMask;            return packFloatx80( zSign, zExp, zSig0 );        }    }    if ( roundBits ) float_exception_flags |= float_flag_inexact;    zSig0 += roundIncrement;    if ( zSig0 < roundIncrement ) {        ++zExp;        zSig0 = LIT64( 0x8000000000000000 );    }    roundIncrement = roundMask + 1;    if ( roundNearestEven && ( roundBits<<1 == roundIncrement ) ) {        roundMask |= roundIncrement;    }    zSig0 &= ~ roundMask;    if ( zSig0 == 0 ) zExp = 0;    return packFloatx80( zSign, zExp, zSig0 ); precision80:    increment = ( (sbits64) zSig1 < 0 );    if ( ! roundNearestEven ) {        if ( roundingMode == float_round_to_zero ) {            increment = 0;        }        else {            if ( zSign ) {                increment = ( roundingMode == float_round_down ) && zSig1;            }            else {                increment = ( roundingMode == float_round_up ) && zSig1;            }        }    }    if ( 0x7FFD <= (bits32) ( zExp - 1 ) ) {        if (    ( 0x7FFE < zExp )             || (    ( zExp == 0x7FFE )                  && ( zSig0 == LIT64( 0xFFFFFFFFFFFFFFFF ) )                  && increment                )           ) {            roundMask = 0; overflow:            float_raise( float_flag_overflow | float_flag_inexact );            if (    ( roundingMode == float_round_to_zero )                 || ( zSign && ( roundingMode == float_round_up ) )                 || ( ! zSign && ( roundingMode == float_round_down ) )               ) {                return packFloatx80( zSign, 0x7FFE, ~ roundMask );            }            return packFloatx80( zSign, 0x7FFF, LIT64( 0x8000000000000000 ) );        }        if ( zExp <= 0 ) {            isTiny =                   ( float_detect_tininess == float_tininess_before_rounding )                || ( zExp < 0 )                || ! increment                || ( zSig0 < LIT64( 0xFFFFFFFFFFFFFFFF ) );            shift64ExtraRightJamming( zSig0, zSig1, 1 - zExp, &zSig0, &zSig1 );            zExp = 0;            if ( isTiny && zSig1 ) float_raise( float_flag_underflow );            if ( zSig1 ) float_exception_flags |= float_flag_inexact;            if ( roundNearestEven ) {                increment = ( (sbits64) zSig1 < 0 );            }            else {                if ( zSign ) {                    increment = ( roundingMode == float_round_down ) && zSig1;                }                else {                    increment = ( roundingMode == float_round_up ) && zSig1;                }            }            if ( increment ) {                ++zSig0;                zSig0 &= ~ ( ( zSig1 + zSig1 == 0 ) & roundNearestEven );                if ( (sbits64) zSig0 < 0 ) zExp = 1;            }            return packFloatx80( zSign, zExp, zSig0 );        }    }    if ( zSig1 ) float_exception_flags |= float_flag_inexact;    if ( increment ) {        ++zSig0;        if ( zSig0 == 0 ) {            ++zExp;            zSig0 = LIT64( 0x8000000000000000 );        }        else {            zSig0 &= ~ ( ( zSig1 + zSig1 == 0 ) & roundNearestEven );        }    }    else {        if ( zSig0 == 0 ) zExp = 0;    }        return packFloatx80( zSign, zExp, zSig0 );}/*-------------------------------------------------------------------------------Takes an abstract floating-point value having sign `zSign', exponent`zExp', and significand formed by the concatenation of `zSig0' and `zSig1',and returns the proper extended double-precision floating-point valuecorresponding to the abstract input.  This routine is just like`roundAndPackFloatx80' except that the input significand does not have to benormalized.-------------------------------------------------------------------------------*/static floatx80 normalizeRoundAndPackFloatx80(     int8 roundingPrecision, flag zSign, int32 zExp, bits64 zSig0, bits64 zSig1 ){    int8 shiftCount;    if ( zSig0 == 0 ) {        zSig0 = zSig1;        zSig1 = 0;        zExp -= 64;    }    shiftCount = countLeadingZeros64( zSig0 );    shortShift128Left( zSig0, zSig1, shiftCount, &zSig0, &zSig1 );    zExp -= shiftCount;    return        roundAndPackFloatx80( roundingPrecision, zSign, zExp, zSig0, zSig1 );}#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一级理论片| 亚洲国产另类精品专区| 欧美韩日一区二区三区| 国产美女视频一区| 2023国产精品视频| 国产成人综合亚洲网站| 日本一区二区三区四区| 91麻豆免费看| 亚洲18色成人| 久久美女艺术照精彩视频福利播放| 激情另类小说区图片区视频区| 国产婷婷一区二区| 色婷婷综合激情| 午夜精品免费在线| 精品日韩欧美在线| 波多野洁衣一区| 亚洲福利一区二区| 国产无人区一区二区三区| 不卡的电影网站| 日韩精品1区2区3区| 久久久久久久综合色一本| 91视频xxxx| 日韩成人免费看| 国产精品日韩精品欧美在线| 精品视频999| 精品无人码麻豆乱码1区2区| 17c精品麻豆一区二区免费| 亚洲精品欧美专区| 日韩视频一区二区三区| 国产激情91久久精品导航| 亚洲欧美激情视频在线观看一区二区三区| 国产精品久久久久久久久快鸭| 成人午夜精品在线| 久久久亚洲精品一区二区三区| 精品一区二区久久| 国产精品国产精品国产专区不蜜| 欧美主播一区二区三区美女| 亚洲一区二区欧美日韩| 成人深夜视频在线观看| 国产亚洲欧美中文| 欧美激情在线观看视频免费| 日韩成人午夜电影| 欧美色图在线观看| 久久综合色综合88| 精品精品国产高清a毛片牛牛 | 欧洲一区二区av| 喷白浆一区二区| 国产精品久久久久久妇女6080| 欧美日韩综合色| 成人动漫一区二区三区| 经典三级一区二区| 日本亚洲电影天堂| 亚洲欧美电影一区二区| 国产欧美日韩精品a在线观看| 69久久夜色精品国产69蝌蚪网| 色丁香久综合在线久综合在线观看| 精品一区二区三区欧美| 日韩国产在线一| 亚洲一区二区三区中文字幕在线 | 国产精品国产自产拍高清av| 精品美女在线观看| 欧美一区二区三区免费在线看| 日本高清不卡在线观看| 99久久精品免费看国产免费软件| 国产一区啦啦啦在线观看| 麻豆精品视频在线观看免费| 五月激情六月综合| 亚洲二区视频在线| 亚洲国产欧美一区二区三区丁香婷| 亚洲桃色在线一区| 日韩理论在线观看| 亚洲日本青草视频在线怡红院 | 国产精品中文字幕欧美| 青椒成人免费视频| 麻豆国产欧美日韩综合精品二区 | 91在线视频在线| 成人app在线观看| 波多野结衣在线aⅴ中文字幕不卡| 激情综合五月婷婷| 国产精品资源网站| 国产mv日韩mv欧美| eeuss影院一区二区三区| 成人午夜免费视频| 成人午夜视频在线| 91美女视频网站| 在线视频欧美区| 欧美日韩国产在线观看| 欧美精品免费视频| 日韩欧美精品三级| 久久久不卡网国产精品一区| 久久久久国产一区二区三区四区 | 欧美va亚洲va香蕉在线| 欧美精品一区二区久久婷婷| 久久久三级国产网站| 中文欧美字幕免费| 亚洲男人的天堂av| 日韩福利电影在线| 精油按摩中文字幕久久| 成人蜜臀av电影| 欧美视频自拍偷拍| 精品捆绑美女sm三区| 国产精品久久久久久久久搜平片| 一区二区在线免费| 日韩成人av影视| 国产高清不卡一区| 欧美天堂一区二区三区| 精品国产自在久精品国产| 中文字幕中文在线不卡住| 亚洲风情在线资源站| 国模套图日韩精品一区二区| 不卡影院免费观看| 欧美日本不卡视频| 亚洲国产精品传媒在线观看| 亚洲一区免费观看| 国产乱对白刺激视频不卡| 色一区在线观看| 欧美不卡视频一区| 亚洲女与黑人做爰| 国内一区二区在线| 欧美专区在线观看一区| 久久九九久精品国产免费直播| 亚洲另类一区二区| 极品少妇xxxx偷拍精品少妇| 色婷婷久久综合| 久久久三级国产网站| 亚洲午夜久久久久| 国产成人免费视频网站| 欧美久久高跟鞋激| 国产精品传媒在线| 经典一区二区三区| 欧美日韩国产片| 亚洲色图欧美激情| 国产高清久久久久| 日韩一区二区不卡| 亚洲线精品一区二区三区| 国产宾馆实践打屁股91| 777亚洲妇女| 亚洲欧洲日韩av| 国产成人自拍网| 日韩欧美专区在线| 婷婷中文字幕一区三区| 成人动漫av在线| 国产亚洲一区二区在线观看| 日韩av电影免费观看高清完整版| 日本黄色一区二区| 亚洲天堂精品视频| 成人激情免费视频| 日韩精品一区二区三区四区| 亚洲成人你懂的| 99re这里都是精品| 中文字幕在线不卡一区二区三区| 国产精品综合二区| 久久久天堂av| 国产一区二区三区综合| 欧美二区在线观看| 日韩黄色在线观看| 欧美精品日韩精品| 偷偷要91色婷婷| 欧美日韩亚洲综合| 亚洲午夜成aⅴ人片| 色噜噜夜夜夜综合网| 中文一区二区在线观看| 国产大陆a不卡| 国产欧美视频一区二区| 国产麻豆视频一区| 国产亚洲一本大道中文在线| 国产一区二区三区日韩| 久久精品网站免费观看| 国产99久久久久久免费看农村| 久久久久一区二区三区四区| 国产剧情av麻豆香蕉精品| 欧美精品一区视频| 国产一区二区三区蝌蚪| 日本一区二区三区免费乱视频 | 99久久精品国产精品久久| 国产精品欧美精品| 99re这里只有精品视频首页| 亚洲欧洲在线观看av| 91看片淫黄大片一级在线观看| 亚洲欧洲www| 91福利视频在线| 丝袜美腿亚洲色图| 日韩精品在线一区| 国产精品一区二区x88av| 国产精品剧情在线亚洲| 色久综合一二码| 午夜电影一区二区三区| 欧美tickling挠脚心丨vk| 国产原创一区二区| 国产视频一区不卡| 色婷婷av一区二区三区大白胸| 亚洲成人激情自拍| 2017欧美狠狠色| 91在线精品一区二区三区| 亚洲午夜国产一区99re久久| 日韩欧美一区在线| 不卡视频一二三四| 视频一区在线播放| 国产欧美一区二区三区鸳鸯浴| 色视频欧美一区二区三区|