Home
last modified time | relevance | path

Searched refs:aExp (Results 1 – 4 of 4) sorted by relevance

/src/lib/libc/softfloat/bits64/ !
H A Dsoftfloat.c1385 int16 aExp, shiftCount; in float32_to_int32() local
1390 aExp = extractFloat32Exp( a ); in float32_to_int32()
1392 if ( ( aExp == 0xFF ) && aSig ) aSign = 0; in float32_to_int32()
1393 if ( aExp ) aSig |= 0x00800000; in float32_to_int32()
1394 shiftCount = 0xAF - aExp; in float32_to_int32()
1417 int16 aExp, shiftCount; in float32_to_int32_round_to_zero() local
1422 aExp = extractFloat32Exp( a ); in float32_to_int32_round_to_zero()
1424 shiftCount = aExp - 0x9E; in float32_to_int32_round_to_zero()
1428 if ( ! aSign || ( ( aExp == 0xFF ) && aSig ) ) return 0x7FFFFFFF; in float32_to_int32_round_to_zero()
1432 else if ( aExp <= 0x7E ) { in float32_to_int32_round_to_zero()
[all …]
H A Dsoftfloat-macros589 `aExp' (the least significant bit) is 1, the integer returned approximates
590 2^31*sqrt(`a'/2^31), where `a' is considered an integer. If bit 0 of `aExp'
596 static bits32 estimateSqrt32( int16 aExp, bits32 a )
610 if ( aExp & 1 ) {
/src/lib/libc/softfloat/bits32/ !
H A Dsoftfloat.c581 int16 aExp, shiftCount; in float32_to_int32() local
587 aExp = extractFloat32Exp( a ); in float32_to_int32()
589 shiftCount = aExp - 0x96; in float32_to_int32()
591 if ( 0x9E <= aExp ) { in float32_to_int32()
594 if ( ! aSign || ( ( aExp == 0xFF ) && aSig ) ) { in float32_to_int32()
604 if ( aExp < 0x7E ) { in float32_to_int32()
605 aSigExtra = aExp | aSig; in float32_to_int32()
652 int16 aExp, shiftCount; in float32_to_int32_round_to_zero() local
657 aExp = extractFloat32Exp( a ); in float32_to_int32_round_to_zero()
659 shiftCount = aExp - 0x9E; in float32_to_int32_round_to_zero()
[all …]
H A Dsoftfloat-macros514 `aExp' (the least significant bit) is 1, the integer returned approximates
515 2^31*sqrt(`a'/2^31), where `a' is considered an integer. If bit 0 of `aExp'
521 static bits32 estimateSqrt32( int16 aExp, bits32 a )
535 if ( aExp & 1 ) {