This website requires JavaScript.
Explore
Help
Sign In
3rd-party
/
Unity
Watch
1
Star
0
Fork
0
You've already forked Unity
mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced
2026-01-26 01:41:35 +01:00
Code
Issues
Releases
Wiki
Activity
Files
53f0f95ef8af7f903ef0080d0492df33e517ed9c
Unity
/
test
/
tests
/
testparameterized.c
Mark VanderVoord
dce6d329ff
Finished fixing floating point comparisons. We have streamlined how floats and doubles are checked, but we still can't compare them for equality directly. So we're directly testing for infinite and NaN before checking diffs. Also, we've officially decided that for testing purposes NaN shall equal NaN, +Inf shall equal +Inf, and -Inf shall equal -Inf. It's what most people expect during a test.
2016-09-22 08:35:22 -04:00
3.4 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink