09-05-2014 07:31 AM
Hi,
when i used Xilinx COREGEN Float point multiplier (which is supposed to support double float point precision), and try to creat control on 1 operand only SGL appear,
is double precision float point supported within Labview 2012.?
Regards,
SA
09-05-2014 07:57 AM - edited 09-05-2014 07:59 AM
Hi saketa,
LabVIEW supports DBL as long as I can think of.
But you seem to ask for the FPGA module (while not saying so): this one only supports SGL…
You might want to read this white paper!
09-05-2014 08:57 AM
Hi,
Thank you.
i think that SGL can support real number like 230.54458884
am i right?
Thanks
SA
09-05-2014 08:58 AM
LabVIEW FPGA only supports Single Precision Floating Points. But be sure to put this in as a suggestion in the LabVIEW FPGA Idea Exchange.
09-05-2014 09:01 AM - edited 09-05-2014 09:01 AM
09-05-2014 09:15 AM
Hi GerdW,
I do not perfectly understand your answer,
so it increase the precision from 230.544588 to 230.5445861816406
Regards,
SA
09-05-2014 09:17 AM
Hi saketa,
no I only increased the number of visible digits. That's completely different from precision…
Create a SGL control/constant in LabVIEW. Type in your number. Change number of visible digits in the control properties to 17+. See what happens…
09-05-2014 09:21 AM
@saketa wrote:
Hi,
Thank you.
i think that SGL can support real number like 230.54458884
am i right?
Thanks
SA
Almost, a SGL has 7 decimals precision, so the ending ...84 will be ...8.
/Y
09-05-2014 09:23 AM - edited 09-05-2014 09:26 AM
09-05-2014 09:25 AM - edited 09-05-2014 09:26 AM
@GerdW wrote:
Hi Yamaeda,
you need to count all digits of mantissa regardless of exponent, so the cut will be after "45"…
Right, forgot about that. 🙂
My point was ofcourse that a SGL supports a real, as he asked for, but with limited precision.
/Y