About This File
This package contains VIs for testing equality of floating point numbers within a specified tolerance. Absolute Epsilon comparison, Relative Epsilon comparison and the ULP comparison have been implemented as described in this blog post by Bruce Dawson: http://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/
Note that the ULP comparison has not been implemented for extended precision floating point type.
Installation and instructions:
- Install VIP package using VI Package Manager 2014.
Examples:
- "<LabVIEW>\examples\LAVA\AlmostEqual\AlmostEqual_Example 1.vi" Demonstrates the usage of all three AlmostEqual functions.
- "<LabVIEW>\examples\LAVA\AlmostEqual\AlmostEqual_Example 2.vi" Demonstrates a case where exactly equal fails to produce the expected result.
Development version available on GitHub: https://github.com/rfporter/FP-Equal
What's New in Version V1.0.2 See changelog
Released
- Changed VIs to preallocated reentrant execution.