Happy shrimp
Http://blog.csdn.net/lights_joy/
Lights@hb165.com
This article applies
ADI bf561 DSP
Apsara stack bf561evb Development Board
Visual DSP ++ 5.0 (Update 5)
Reprinted, but keep the author information
Flt_min is a constant defined in float. h to represent the minimum value of a single-precision floating point number.
# Define flt_min 1.1754943508222875e -38f
So where does this value come from?
From the floating point representation, we can know that the ending number must be greater than or equal to 1. To obtain the minimum value, we can only set the index to the minimum value. Because the floating point number requires that the index be 0 to indicate a special floating point number, therefore, the index can only be 1, that is
0 00000001 00000000000000000000000
Tail Number of the symbol bit Index
The hexadecimal integer is 0x00 80 00.
According to the floating point calculation formula, the value is:
1.0x2-126
= 1.1754943508222875079687365372222e-38
This is the calculation result of the calculator.
References
Floating point operations in vdsp (bf561) (1): the document( )
Floating point operations in vdsp (bf561) (2): Float questions( 2008-12-18 )