Hi All, I started using a microblaze design that included the FPU. As a test that the FPU is working I created a small application that devided the number 3.0 with 6.0 for a result of .5 and then displayed the result on a hyperterminal window. I was hoping to see a result of
0x3F000000 for a single precision 32 bit value but instead I see a result of 0x3FE00000. This would be correct (with an extra 8 zeros) if I was using a double precision 64bit FPU. I then decided to create a float variable with its value initialized to 0.5 and displayed it. The result was the same leading me to believe that the problem lies elsewhere?float x = 0.5; putnum (x); // this displays 3FE00000
Can someone enlighten me... I'm a tad bit confused...
Thanks