-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow NaN values to pass floating point bounds check. (#167)
* Invert bounds check in order to permit floating point NaN values Signed-off-by: Øystein Sture <os@skarvtech.com> * Allow floating point numbers set to Inf to pass bounds check Signed-off-by: Øystein Sture <os@skarvtech.com> * Add float/double NaN/Inf tests Signed-off-by: Øystein Sture <os@skarvtech.com> * Increase precision of float32 bounds Signed-off-by: Øystein Sture <os@skarvtech.com> * Only perform float64 bounds check on non-compliant IEEE 754 systems Signed-off-by: Øystein Sture <os@skarvtech.com> * Disable bounds test for float64 on IEEE 754 compatible systems Signed-off-by: Øystein Sture <os@skarvtech.com> * Disable bounds test for float64 on IEEE 754 compatible systems Signed-off-by: Øystein Sture <os@skarvtech.com> * Resolve failing nan/inf test by comparing the same types Signed-off-by: Øystein Sture <os@skarvtech.com> * Change decode error mode to replace (#176) Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> * Replace rosidl_cmake imports with rosidl_pycommon (#177) Signed-off-by: Jacob Perron <jacob@openrobotics.org> * Delete trailing whitespace Signed-off-by: Shane Loretz <sloretz@osrfoundation.org> * Split fail case array check tests into two Signed-off-by: Shane Loretz <sloretz@osrfoundation.org> Signed-off-by: Øystein Sture <os@skarvtech.com> Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> Signed-off-by: Jacob Perron <jacob@openrobotics.org> Signed-off-by: Shane Loretz <sloretz@osrfoundation.org> Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com> Co-authored-by: Jacob Perron <jacob@openrobotics.org> Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
- Loading branch information
1 parent
940a314
commit db6c5b8
Showing
2 changed files
with
93 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters