Re: Problem in printf float values in range (-1 < value < 1)

2010-02-18 Thread Dave Korn
On 18/02/2010 10:11, Naveen H. S wrote: > Issue > - > Float variables are prefixed by some garbage value in printf function. > However, the values are generated correctly when seen through GDB. > Ex:- If the expected result is 0.456 > RUN OUTPUT - 0.00456 (INCORRECT) > GDB OUTPUT - 0.456

Problem in printf float values in range (-1 < value < 1)

2010-02-18 Thread Naveen H. S
Hi, We are porting gcc toolchain for a new target. Most of the functionalities are working fine as expected. However, there is one issue regarding the printf function. Issue - Float variables are prefixed by some garbage value in printf function. However, the values are generated correctly