Lines Matching refs:aSign
782 flag aSign; in int32_to_float64() local
788 aSign = ( a < 0 ); in int32_to_float64()
789 absA = aSign ? - a : a; in int32_to_float64()
792 return packFloat64( aSign, 0x432 - shiftCount, zSig<<shiftCount ); in int32_to_float64()
837 flag aSign; in float32_to_int32() local
844 aSign = extractFloat32Sign( a ); in float32_to_int32()
845 if ( ( aExp == 0x7FF ) && aSig ) aSign = 0; in float32_to_int32()
851 return roundAndPackInt32( roundData, aSign, zSig ); in float32_to_int32()
868 flag aSign; in float32_to_int32_round_to_zero() local
875 aSign = extractFloat32Sign( a ); in float32_to_int32_round_to_zero()
880 if ( ! aSign || ( ( aExp == 0xFF ) && aSig ) ) return 0x7FFFFFFF; in float32_to_int32_round_to_zero()
892 return aSign ? - z : z; in float32_to_int32_round_to_zero()
906 flag aSign; in float32_to_float64() local
912 aSign = extractFloat32Sign( a ); in float32_to_float64()
915 return packFloat64( aSign, 0x7FF, 0 ); in float32_to_float64()
918 if ( aSig == 0 ) return packFloat64( aSign, 0, 0 ); in float32_to_float64()
922 return packFloat64( aSign, aExp + 0x380, ( (bits64) aSig )<<29 ); in float32_to_float64()
938 flag aSign; in float32_to_floatx80() local
944 aSign = extractFloat32Sign( a ); in float32_to_floatx80()
947 return packFloatx80( aSign, 0x7FFF, LIT64( 0x8000000000000000 ) ); in float32_to_floatx80()
950 if ( aSig == 0 ) return packFloatx80( aSign, 0, 0 ); in float32_to_floatx80()
954 return packFloatx80( aSign, aExp + 0x3F80, ( (bits64) aSig )<<40 ); in float32_to_floatx80()
970 flag aSign; in float32_round_to_int() local
987 aSign = extractFloat32Sign( a ); in float32_round_to_int()
991 return packFloat32( aSign, 0x7F, 0 ); in float32_round_to_int()
995 return aSign ? 0xBF800000 : 0; in float32_round_to_int()
997 return aSign ? 0x80000000 : 0x3F800000; in float32_round_to_int()
999 return packFloat32( aSign, 0, 0 ); in float32_round_to_int()
1177 flag aSign, bSign; in float32_add() local
1179 aSign = extractFloat32Sign( a ); in float32_add()
1181 if ( aSign == bSign ) { in float32_add()
1182 return addFloat32Sigs( roundData, a, b, aSign ); in float32_add()
1185 return subFloat32Sigs( roundData, a, b, aSign ); in float32_add()
1199 flag aSign, bSign; in float32_sub() local
1201 aSign = extractFloat32Sign( a ); in float32_sub()
1203 if ( aSign == bSign ) { in float32_sub()
1204 return subFloat32Sigs( roundData, a, b, aSign ); in float32_sub()
1207 return addFloat32Sigs( roundData, a, b, aSign ); in float32_sub()
1221 flag aSign, bSign, zSign; in float32_mul() local
1229 aSign = extractFloat32Sign( a ); in float32_mul()
1233 zSign = aSign ^ bSign; in float32_mul()
1282 flag aSign, bSign, zSign; in float32_div() local
1288 aSign = extractFloat32Sign( a ); in float32_div()
1292 zSign = aSign ^ bSign; in float32_div()
1349 flag aSign, bSign, zSign; in float32_rem() local
1359 aSign = extractFloat32Sign( a ); in float32_rem()
1439 return normalizeRoundAndPackFloat32( roundData, aSign ^ zSign, bExp, aSig ); in float32_rem()
1452 flag aSign; in float32_sqrt() local
1459 aSign = extractFloat32Sign( a ); in float32_sqrt()
1462 if ( ! aSign ) return a; in float32_sqrt()
1466 if ( aSign ) { in float32_sqrt()
1530 flag aSign, bSign; in float32_le() local
1538 aSign = extractFloat32Sign( a ); in float32_le()
1540 if ( aSign != bSign ) return aSign || ( (bits32) ( ( a | b )<<1 ) == 0 ); in float32_le()
1541 return ( a == b ) || ( aSign ^ ( a < b ) ); in float32_le()
1554 flag aSign, bSign; in float32_lt() local
1562 aSign = extractFloat32Sign( a ); in float32_lt()
1564 if ( aSign != bSign ) return aSign && ( (bits32) ( ( a | b )<<1 ) != 0 ); in float32_lt()
1565 return ( a != b ) && ( aSign ^ ( a < b ) ); in float32_lt()
1600 flag aSign, bSign; in float32_le_quiet() local
1609 aSign = extractFloat32Sign( a ); in float32_le_quiet()
1611 if ( aSign != bSign ) return aSign || ( (bits32) ( ( a | b )<<1 ) == 0 ); in float32_le_quiet()
1612 return ( a == b ) || ( aSign ^ ( a < b ) ); in float32_le_quiet()
1626 flag aSign, bSign; in float32_lt_quiet() local
1634 aSign = extractFloat32Sign( a ); in float32_lt_quiet()
1636 if ( aSign != bSign ) return aSign && ( (bits32) ( ( a | b )<<1 ) != 0 ); in float32_lt_quiet()
1637 return ( a != b ) && ( aSign ^ ( a < b ) ); in float32_lt_quiet()
1654 flag aSign; in float64_to_int32() local
1660 aSign = extractFloat64Sign( a ); in float64_to_int32()
1661 if ( ( aExp == 0x7FF ) && aSig ) aSign = 0; in float64_to_int32()
1665 return roundAndPackInt32( roundData, aSign, aSig ); in float64_to_int32()
1682 flag aSign; in float64_to_int32_round_to_zero() local
1689 aSign = extractFloat64Sign( a ); in float64_to_int32_round_to_zero()
1692 if ( ( aExp == 0x7FF ) && aSig ) aSign = 0; in float64_to_int32_round_to_zero()
1703 if ( aSign ) z = - z; in float64_to_int32_round_to_zero()
1704 if ( ( z < 0 ) ^ aSign ) { in float64_to_int32_round_to_zero()
1707 return aSign ? 0x80000000 : 0x7FFFFFFF; in float64_to_int32_round_to_zero()
1729 flag aSign; in float64_to_uint32() local
1735 aSign = 0; //extractFloat64Sign( a ); in float64_to_uint32()
1740 return roundAndPackInt32( roundData, aSign, aSig ); in float64_to_uint32()
1755 flag aSign; in float64_to_uint32_round_to_zero() local
1762 aSign = extractFloat64Sign( a ); in float64_to_uint32_round_to_zero()
1765 if ( ( aExp == 0x7FF ) && aSig ) aSign = 0; in float64_to_uint32_round_to_zero()
1776 if ( aSign ) z = - z; in float64_to_uint32_round_to_zero()
1777 if ( ( z < 0 ) ^ aSign ) { in float64_to_uint32_round_to_zero()
1780 return aSign ? 0x80000000 : 0x7FFFFFFF; in float64_to_uint32_round_to_zero()
1798 flag aSign; in float64_to_float32() local
1805 aSign = extractFloat64Sign( a ); in float64_to_float32()
1808 return packFloat32( aSign, 0xFF, 0 ); in float64_to_float32()
1816 return roundAndPackFloat32( roundData, aSign, aExp, zSig ); in float64_to_float32()
1832 flag aSign; in float64_to_floatx80() local
1838 aSign = extractFloat64Sign( a ); in float64_to_floatx80()
1841 return packFloatx80( aSign, 0x7FFF, LIT64( 0x8000000000000000 ) ); in float64_to_floatx80()
1844 if ( aSig == 0 ) return packFloatx80( aSign, 0, 0 ); in float64_to_floatx80()
1849 aSign, aExp + 0x3C00, ( aSig | LIT64( 0x0010000000000000 ) )<<11 ); in float64_to_floatx80()
1865 flag aSign; in float64_round_to_int() local
1881 aSign = extractFloat64Sign( a ); in float64_round_to_int()
1885 return packFloat64( aSign, 0x3FF, 0 ); in float64_round_to_int()
1889 return aSign ? LIT64( 0xBFF0000000000000 ) : 0; in float64_round_to_int()
1892 aSign ? LIT64( 0x8000000000000000 ) : LIT64( 0x3FF0000000000000 ); in float64_round_to_int()
1894 return packFloat64( aSign, 0, 0 ); in float64_round_to_int()
2073 flag aSign, bSign; in float64_add() local
2075 aSign = extractFloat64Sign( a ); in float64_add()
2077 if ( aSign == bSign ) { in float64_add()
2078 return addFloat64Sigs( roundData, a, b, aSign ); in float64_add()
2081 return subFloat64Sigs( roundData, a, b, aSign ); in float64_add()
2095 flag aSign, bSign; in float64_sub() local
2097 aSign = extractFloat64Sign( a ); in float64_sub()
2099 if ( aSign == bSign ) { in float64_sub()
2100 return subFloat64Sigs( roundData, a, b, aSign ); in float64_sub()
2103 return addFloat64Sigs( roundData, a, b, aSign ); in float64_sub()
2117 flag aSign, bSign, zSign; in float64_mul() local
2123 aSign = extractFloat64Sign( a ); in float64_mul()
2127 zSign = aSign ^ bSign; in float64_mul()
2176 flag aSign, bSign, zSign; in float64_div() local
2184 aSign = extractFloat64Sign( a ); in float64_div()
2188 zSign = aSign ^ bSign; in float64_div()
2247 flag aSign, bSign, zSign; in float64_rem() local
2255 aSign = extractFloat64Sign( a ); in float64_rem()
2320 return normalizeRoundAndPackFloat64( roundData, aSign ^ zSign, bExp, aSig ); in float64_rem()
2333 flag aSign; in float64_sqrt() local
2341 aSign = extractFloat64Sign( a ); in float64_sqrt()
2344 if ( ! aSign ) return a; in float64_sqrt()
2348 if ( aSign ) { in float64_sqrt()
2417 flag aSign, bSign; in float64_le() local
2425 aSign = extractFloat64Sign( a ); in float64_le()
2427 if ( aSign != bSign ) return aSign || ( (bits64) ( ( a | b )<<1 ) == 0 ); in float64_le()
2428 return ( a == b ) || ( aSign ^ ( a < b ) ); in float64_le()
2441 flag aSign, bSign; in float64_lt() local
2449 aSign = extractFloat64Sign( a ); in float64_lt()
2451 if ( aSign != bSign ) return aSign && ( (bits64) ( ( a | b )<<1 ) != 0 ); in float64_lt()
2452 return ( a != b ) && ( aSign ^ ( a < b ) ); in float64_lt()
2487 flag aSign, bSign; in float64_le_quiet() local
2496 aSign = extractFloat64Sign( a ); in float64_le_quiet()
2498 if ( aSign != bSign ) return aSign || ( (bits64) ( ( a | b )<<1 ) == 0 ); in float64_le_quiet()
2499 return ( a == b ) || ( aSign ^ ( a < b ) ); in float64_le_quiet()
2513 flag aSign, bSign; in float64_lt_quiet() local
2521 aSign = extractFloat64Sign( a ); in float64_lt_quiet()
2523 if ( aSign != bSign ) return aSign && ( (bits64) ( ( a | b )<<1 ) != 0 ); in float64_lt_quiet()
2524 return ( a != b ) && ( aSign ^ ( a < b ) ); in float64_lt_quiet()
2543 flag aSign; in floatx80_to_int32() local
2549 aSign = extractFloatx80Sign( a ); in floatx80_to_int32()
2550 if ( ( aExp == 0x7FFF ) && (bits64) ( aSig<<1 ) ) aSign = 0; in floatx80_to_int32()
2554 return roundAndPackInt32( roundData, aSign, aSig ); in floatx80_to_int32()
2571 flag aSign; in floatx80_to_int32_round_to_zero() local
2578 aSign = extractFloatx80Sign( a ); in floatx80_to_int32_round_to_zero()
2581 if ( ( aExp == 0x7FFF ) && (bits64) ( aSig<<1 ) ) aSign = 0; in floatx80_to_int32_round_to_zero()
2591 if ( aSign ) z = - z; in floatx80_to_int32_round_to_zero()
2592 if ( ( z < 0 ) ^ aSign ) { in floatx80_to_int32_round_to_zero()
2595 return aSign ? 0x80000000 : 0x7FFFFFFF; in floatx80_to_int32_round_to_zero()
2614 flag aSign; in floatx80_to_float32() local
2620 aSign = extractFloatx80Sign( a ); in floatx80_to_float32()
2625 return packFloat32( aSign, 0xFF, 0 ); in floatx80_to_float32()
2629 return roundAndPackFloat32( roundData, aSign, aExp, aSig ); in floatx80_to_float32()
2643 flag aSign; in floatx80_to_float64() local
2649 aSign = extractFloatx80Sign( a ); in floatx80_to_float64()
2654 return packFloat64( aSign, 0x7FF, 0 ); in floatx80_to_float64()
2658 return roundAndPackFloat64( roundData, aSign, aExp, zSig ); in floatx80_to_float64()
2672 flag aSign; in floatx80_round_to_int() local
2691 aSign = extractFloatx80Sign( a ); in floatx80_round_to_int()
2697 packFloatx80( aSign, 0x3FFF, LIT64( 0x8000000000000000 ) ); in floatx80_round_to_int()
2702 aSign ? in floatx80_round_to_int()
2707 aSign ? packFloatx80( 1, 0, 0 ) in floatx80_round_to_int()
2710 return packFloatx80( aSign, 0, 0 ); in floatx80_round_to_int()
2884 flag aSign, bSign; in floatx80_add() local
2886 aSign = extractFloatx80Sign( a ); in floatx80_add()
2888 if ( aSign == bSign ) { in floatx80_add()
2889 return addFloatx80Sigs( roundData, a, b, aSign ); in floatx80_add()
2892 return subFloatx80Sigs( roundData, a, b, aSign ); in floatx80_add()
2906 flag aSign, bSign; in floatx80_sub() local
2908 aSign = extractFloatx80Sign( a ); in floatx80_sub()
2910 if ( aSign == bSign ) { in floatx80_sub()
2911 return subFloatx80Sigs( roundData, a, b, aSign ); in floatx80_sub()
2914 return addFloatx80Sigs( roundData, a, b, aSign ); in floatx80_sub()
2928 flag aSign, bSign, zSign; in floatx80_mul() local
2935 aSign = extractFloatx80Sign( a ); in floatx80_mul()
2939 zSign = aSign ^ bSign; in floatx80_mul()
2989 flag aSign, bSign, zSign; in floatx80_div() local
2997 aSign = extractFloatx80Sign( a ); in floatx80_div()
3001 zSign = aSign ^ bSign; in floatx80_div()
3071 flag aSign, bSign, zSign; in floatx80_rem() local
3079 aSign = extractFloatx80Sign( a ); in floatx80_rem()
3110 zSign = aSign; in floatx80_rem()
3171 flag aSign; in floatx80_sqrt() local
3180 aSign = extractFloatx80Sign( a ); in floatx80_sqrt()
3183 if ( ! aSign ) return a; in floatx80_sqrt()
3186 if ( aSign ) { in floatx80_sqrt()
3280 flag aSign, bSign; in floatx80_le() local
3290 aSign = extractFloatx80Sign( a ); in floatx80_le()
3292 if ( aSign != bSign ) { in floatx80_le()
3294 aSign in floatx80_le()
3299 aSign ? le128( b.high, b.low, a.high, a.low ) in floatx80_le()
3314 flag aSign, bSign; in floatx80_lt() local
3324 aSign = extractFloatx80Sign( a ); in floatx80_lt()
3326 if ( aSign != bSign ) { in floatx80_lt()
3328 aSign in floatx80_lt()
3333 aSign ? lt128( b.high, b.low, a.high, a.low ) in floatx80_lt()
3376 flag aSign, bSign; in floatx80_le_quiet() local
3386 aSign = extractFloatx80Sign( a ); in floatx80_le_quiet()
3388 if ( aSign != bSign ) { in floatx80_le_quiet()
3390 aSign in floatx80_le_quiet()
3395 aSign ? le128( b.high, b.low, a.high, a.low ) in floatx80_le_quiet()
3410 flag aSign, bSign; in floatx80_lt_quiet() local
3420 aSign = extractFloatx80Sign( a ); in floatx80_lt_quiet()
3422 if ( aSign != bSign ) { in floatx80_lt_quiet()
3424 aSign in floatx80_lt_quiet()
3429 aSign ? lt128( b.high, b.low, a.high, a.low ) in floatx80_lt_quiet()