release/src/linux/linux/arch/arm/nwfpe/softfloat.c
/*
-------------------------------------------------------------------------------
Returns the result of converting the 32-bit two's complement integer `a' to
the single-precision floating-point format.  The conversion is performed
according to the IEC/IEEE Standard for Binary Floating-point Arithmetic.
-------------------------------------------------------------------------------
*/
Returns the result of converting the 32-bit two's complement integer `a' to
the single-precision floating-point format.  The conversion is performed
according to the IEC/IEEE Standard for Binary Floating-point Arithmetic.
Returns the result of converting the 32 - bit two ' s complement integer ` a ' to the single - precision floating - point format . The conversion is performed according to the IEC / IEEE Standard for Binary Floating - point Arithmetic .
float32 int32_to_float32( int32 a )
{
    flag zSign;
    if ( a == 0 ) return 0;
    if ( a == 0x80000000 ) return packFloat32( 1, 0x9E, 0 );
    zSign = ( a < 0 );
    return normalizeRoundAndPackFloat32( zSign, 0x9C, zSign ? - a : a );
}
float32 int32_to_float32 ( int32 a ) { flag zSign ; if ( a == 0 ) return 0 ; if ( a == 0x80000000 ) return packFloat32 ( 1 , 0x9E , 0 ) ; zSign = ( a < 0 ) ; return normalizeRoundAndPackFloat32 ( zSign , 0x9C , zSign ? - a : a ) ; }
Returns the result of converting the 32-bit two's complement integer `a' to
the single-precision floating-point format.
Returns the result of converting the 32 - bit two ' s complement integer ` a ' to the single - precision floating - point format .