UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor nausee
Visitor
193 Views
Registered: ‎01-30-2019

double float precision on xc7z020

Hello!

I tested the following code on xc7z020. However, the output was not as expected. When using int instead of double,

the output is ok. Is there any optimization for "double" variables? Or anyone can tell me the reason ....

SR}_@SDK6S~E[O2L)$RV$Y8.png

0 Kudos
1 Reply
Visitor nausee
Visitor
181 Views
Registered: ‎01-30-2019

Re: double float precision on xc7z020

Ok .... I tested something else

Untitled.png

For the above source code, the output is ok.

However, the following one, output of which is wrong ....

Untitled.png

 

0 Kudos