LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
MimiKLM

New VIs which show the FP data representation in different formats.

Status: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined. 

It'd be usefull to explicitly see the figures as they look like coded in different FP formats and flavours. The main set of FP format is:

 

 

Floating-point precisions

IEEE 754:
16-bit: Half (binary16)
32-bit: Single (binary32), decimal32
64-bit: Double (binary64), decimal64
128-bit: Quadruple (binary128), decimal128
Other:
Minifloat · Extended precision
Arbitrary precision

 

The new VI(s) would be greatly welcomed.

6 Comments
RavensFan
Knight of NI

Can you clarify your idea some more?  I don't understand what you are asking for in having an appearance of a number on the front panel be different based on its representation in memory.

MimiKLM
Active Participant

I was thinking of VI like that:

 

one overloaded input SGL, DBL, EXT,

 

four outputs (let say hex string)

1. full number representation

2. mantist

3. expotential

4. sign value

 

This VI could be a polymorphic one. Each of polymorphic instance could represent different type of FP coding.

Knight of NI

I also don't understand what this idea is asking for. Please provide some example screenshots of what you're asking for so it's more clear. Can't Kudo an idea if you can't understand it. Smiley Wink

X.
Trusted Enthusiast
Trusted Enthusiast

I think he wants a decomposition of floating point values into its different "components" used for internal representation.

In the form of a VI with a polymorphic input (SGL,DBL,EXT) and 4 outputs 🙂

tst
Knight of NI Knight of NI
Knight of NI

I don't feel the need for this, but the VI here might help you:

 

http://forums.ni.com/t5/LabVIEW/do-numerical-indicators-display-extended-precision-floats/m-p/730179...


___________________
Try to take over the world!
Darren
Proven Zealot
Status changed to: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined.