• M
    Finished fixing floating point comparisons. We have streamlined how floats and... · dce6d329
    Mark VanderVoord 提交于
    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.
    dce6d329
unity.c 44.1 KB