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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? softfloat.c

?? 是關(guān)于linux2.5.1的完全源碼
?? C
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品久久久网站| 91精品福利在线一区二区三区| 亚洲18影院在线观看| 久久久精品2019中文字幕之3| 色中色一区二区| 精品一区精品二区高清| 国产精品污污网站在线观看 | 国产成人激情av| 亚洲成人自拍偷拍| 国产精品三级视频| 久久综合久色欧美综合狠狠| 精品视频在线看| 99国产精品久| 国产成人av福利| 青青草国产精品97视觉盛宴| 亚洲精品videosex极品| 国产女人aaa级久久久级 | 久久影视一区二区| 欧美肥大bbwbbw高潮| 欧美影院精品一区| 99久精品国产| 成人午夜av电影| 国产精品一区二区不卡| 精品一区二区三区在线播放| 日韩国产一区二| 五月婷婷激情综合网| 一级日本不卡的影视| 亚洲女女做受ⅹxx高潮| 136国产福利精品导航| 国产日韩一级二级三级| 久久这里都是精品| 欧美tk—视频vk| 91麻豆精品国产91久久久久久久久| av电影在线观看不卡| 国产91丝袜在线观看| 国内精品不卡在线| 国产久卡久卡久卡久卡视频精品| 亚洲成人www| 日本伊人午夜精品| 日本女优在线视频一区二区| 成人动漫一区二区| 国产成人福利片| 粉嫩欧美一区二区三区高清影视 | 蜜臀av性久久久久蜜臀aⅴ流畅| 偷拍一区二区三区| 欧美96一区二区免费视频| 日本免费在线视频不卡一不卡二| 日韩福利电影在线观看| 久久国产综合精品| 国产一区二区精品在线观看| 国内成人免费视频| 成人精品在线视频观看| 91老师国产黑色丝袜在线| 在线观看视频一区二区欧美日韩| 欧洲在线/亚洲| 在线电影院国产精品| 精品国产伦一区二区三区免费| 欧美精品一区在线观看| 国产农村妇女精品| 综合久久给合久久狠狠狠97色| 亚洲激情欧美激情| 日韩av在线发布| 国产成人av影院| 一本大道久久精品懂色aⅴ| 欧美美女一区二区| 精品国产乱码久久久久久图片 | 精品日本一线二线三线不卡| 久久综合九色欧美综合狠狠 | 亚洲一二三四久久| 麻豆成人av在线| a美女胸又www黄视频久久| 欧美日韩一区高清| 久久久亚洲午夜电影| 亚洲欧美电影一区二区| 青青草伊人久久| av午夜精品一区二区三区| 在线视频你懂得一区二区三区| 日韩欧美的一区二区| 国产精品福利一区| 日韩激情一二三区| 成人免费黄色在线| 欧美精三区欧美精三区| 国产欧美1区2区3区| 亚洲h动漫在线| 成人美女在线视频| 日韩一区二区三区观看| 亚洲欧洲精品一区二区三区| 日本不卡视频在线| 一本大道久久精品懂色aⅴ| 精品国产免费一区二区三区香蕉| 亚洲美女屁股眼交| 国产精品夜夜嗨| 欧美二区三区91| 亚洲人成精品久久久久| 国产一区二区久久| 制服.丝袜.亚洲.另类.中文 | 亚洲夂夂婷婷色拍ww47| 国产福利视频一区二区三区| 欧美日韩国产综合一区二区| 国产亲近乱来精品视频| 成人精品视频一区| 欧美成人a视频| 一区二区欧美国产| 成年人国产精品| 精品欧美乱码久久久久久1区2区| 一区二区在线观看免费视频播放 | 成人一区二区三区视频在线观看 | 日韩一区有码在线| 精品一区二区三区香蕉蜜桃| 欧美视频中文字幕| 亚洲精品视频一区二区| 大白屁股一区二区视频| 精品国产91久久久久久久妲己| 午夜视频一区二区| 在线观看成人小视频| 国产精品久久久久久久久果冻传媒| 韩国一区二区视频| 日韩欧美精品在线| 人妖欧美一区二区| 欧美精品黑人性xxxx| 亚洲一区在线看| 91蝌蚪国产九色| 亚洲少妇最新在线视频| 成人黄色大片在线观看| 国产日韩一级二级三级| 国产麻豆91精品| 欧美精品一区二区三区久久久| 日本va欧美va欧美va精品| 欧美日韩激情在线| 天天综合天天综合色| 欧美日韩一区久久| 石原莉奈在线亚洲二区| 欧美日韩视频在线第一区 | 亚洲国产精品欧美一二99| 97久久超碰国产精品| 亚洲国产成人私人影院tom| 粉嫩av一区二区三区在线播放 | 91成人网在线| 亚洲欧美电影院| 欧美视频在线一区二区三区| 亚洲另类在线一区| 欧美中文字幕一区| 视频一区二区不卡| 精品福利在线导航| 国产传媒久久文化传媒| 国产精品毛片久久久久久久| 99热国产精品| 亚洲一区二区精品3399| 欧美一区二区三区在线观看视频| 免费欧美在线视频| 久久久久国产精品厨房| 成人小视频免费在线观看| 国产精品久久久久久久久免费樱桃| 91啪在线观看| 视频一区国产视频| 精品av久久707| eeuss鲁片一区二区三区在线观看| 最新欧美精品一区二区三区| 色一情一乱一乱一91av| 天天色图综合网| 亚洲精品在线观看网站| 不卡视频在线看| 亚洲成人动漫精品| 一个色妞综合视频在线观看| 91精品国产免费| 国产成人精品www牛牛影视| 亚洲欧美日韩人成在线播放| 5月丁香婷婷综合| 国产精品亚洲一区二区三区妖精| 国产精品久久久久影院| 欧美视频中文字幕| 久久国产精品区| 亚洲欧美一区二区不卡| 欧美一区国产二区| 波多野结衣在线一区| 亚洲国产一区二区三区| 欧美精品一区二区三区高清aⅴ| 成人精品小蝌蚪| 亚洲成av人综合在线观看| 久久久美女毛片| 在线视频一区二区免费| 国产高清一区日本| 香蕉久久一区二区不卡无毒影院| 国产视频一区在线播放| 欧美区在线观看| 成人av片在线观看| 毛片一区二区三区| 亚洲欧美经典视频| 久久影院电视剧免费观看| 欧美三级电影在线看| 国产麻豆成人传媒免费观看| 亚洲电影一级片| 国产精品国产三级国产普通话99| 在线成人免费视频| 91丨porny丨国产入口| 精品综合免费视频观看| 亚洲一区在线观看视频| 国产精品毛片久久久久久| 欧美xxxxxxxxx| 欧美精品丝袜中出|