Skip to content

Conversation

@jsalling
Copy link
Contributor

This PR adds an option to change the default NaN comparison. NaN != NaN in C code (NaN is not equal to any value, not even itself). As such, one might want a failure during TEST_ASSERT_EQUAL_FLOAT(NaN, NaN).
Compile with UNITY_NAN_NOT_EQUAL_NAN defined to enable this option.

@mvandervoord mvandervoord merged commit 4ce86fd into ThrowTheSwitch:master Oct 12, 2016
@jsalling jsalling deleted the feature/nan-not-eq-nan branch October 13, 2016 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants