Home
last modified time | relevance | path

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

/freebsd/lib/libc/softfloat/bits64/
H A Dsoftfloat.c115 int8 roundIncrement, roundBits; in roundAndPackInt32() local
135 roundBits = absZ & 0x7F; in roundAndPackInt32()
137 absZ &= ~ ( ( ( roundBits ^ 0x40 ) == 0 ) & roundNearestEven ); in roundAndPackInt32()
144 if ( roundBits ) float_exception_flags |= float_flag_inexact; in roundAndPackInt32()
305 int8 roundIncrement, roundBits; in roundAndPackFloat32() local
325 roundBits = zSig & 0x7F; in roundAndPackFloat32()
341 roundBits = zSig & 0x7F; in roundAndPackFloat32()
342 if ( isTiny && roundBits ) float_raise( float_flag_underflow ); in roundAndPackFloat32()
345 if ( roundBits ) float_exception_flags |= float_flag_inexact; in roundAndPackFloat32()
347 zSig &= ~ ( ( ( roundBits ^ 0x40 ) == 0 ) & roundNearestEven ); in roundAndPackFloat32()
[all …]
/freebsd/lib/libc/softfloat/bits32/
H A Dsoftfloat.c202 int8 roundIncrement, roundBits; in roundAndPackFloat32() local
222 roundBits = zSig & 0x7F; in roundAndPackFloat32()
238 roundBits = zSig & 0x7F; in roundAndPackFloat32()
239 if ( isTiny && roundBits ) float_raise( float_flag_underflow ); in roundAndPackFloat32()
242 if ( roundBits ) float_exception_flags |= float_flag_inexact; in roundAndPackFloat32()
244 zSig &= ~ ( ( ( roundBits ^ 0x40 ) == 0 ) & roundNearestEven ); in roundAndPackFloat32()