Home
last modified time | relevance | path

Searched refs:packFloat32 (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libc/softfloat/bits32/
H A Dsoftfloat.c168 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32() function
229 return packFloat32( zSign, 0xFF, 0 ) - ( roundIncrement == 0 ); in roundAndPackFloat32()
246 return packFloat32( zSign, zExp, zSig ); in roundAndPackFloat32()
531 if ( a == (sbits32) 0x80000000 ) return packFloat32( 1, 0x9E, 0 ); in int32_to_float32()
743 return packFloat32( aSign, 0x7F, 0 ); in float32_round_to_int()
753 return packFloat32( aSign, 0, 0 ); in float32_round_to_int()
815 return packFloat32( zSign, 0xFF, 0 ); in addFloat32Sigs()
831 if ( aExp == 0 ) return packFloat32( zSign, 0, ( aSig + bSig )>>6 ); in addFloat32Sigs()
883 return packFloat32( float_rounding_mode == float_round_down, 0, 0 ); in subFloat32Sigs()
887 return packFloat32( zSign ^ 1, 0xFF, 0 ); in subFloat32Sigs()
[all …]
/freebsd/lib/libc/softfloat/bits64/
H A Dsoftfloat.c271 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32() function
332 return packFloat32( zSign, 0xFF, 0 ) - ( roundIncrement == 0 ); in roundAndPackFloat32()
349 return packFloat32( zSign, zExp, zSig ); in roundAndPackFloat32()
1120 if ( a == (sbits32) 0x80000000 ) return packFloat32( 1, 0x9E, 0 ); in int32_to_float32()
1269 return packFloat32( zSign, 0x95 - shiftCount, absA<<shiftCount ); in int64_to_float32()
1661 return packFloat32( aSign, 0x7F, 0 ); in float32_round_to_int()
1671 return packFloat32( aSign, 0, 0 ); in float32_round_to_int()
1733 return packFloat32( zSign, 0xFF, 0 ); in addFloat32Sigs()
1749 if ( aExp == 0 ) return packFloat32( zSign, 0, ( aSig + bSig )>>6 ); in addFloat32Sigs()
1801 return packFloat32( float_rounding_mode == float_round_down, 0, 0 ); in subFloat32Sigs()
[all …]