LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

any good way to combine 32 boolean bits to a number?

It is actually a divide by -2.  But I'm also curious about that also.  To it is Epsilon to - 1/2 epsilon.  I would expect Epsilon to negative epsilon.

0 Kudos
Message 11 of 12
(446 Views)

 


@RandyR wrote:
Darin, Why the *(-2) instead of a negate for the lower limit epsilon? Thanks, Randy

 

The -2 is inverted, so it is -epsilon/2.  epsilon is well known as the smallest value such that 1+epsilon!=1.  For subtraction, the value of "negative" epsilon is one half the value.  So 1+epsilon!=1, , but 1-epsilon/2!=1.

 

You can use epsilon, you just give up one digit in the negative direction.  Most times, who cares, the primary reason was for an astute reader to notice and ask.  thanks.

 

Edit: Revised definition to match LV help.

Message 12 of 12
(446 Views)