Reduce difference detection between hipadaba floats

r2034 | dcl | 2007-07-05 09:43:27 +1000 (Thu, 05 Jul 2007) | 2 lines
This commit is contained in:
Douglas Clowes
2007-07-05 09:43:27 +10:00
parent 5c0036fe87
commit 22bdf5bebd

View File

@@ -436,7 +436,8 @@ int compareHdbValue(hdbValue v1, hdbValue v2){
} }
break; break;
case HIPFLOAT: case HIPFLOAT:
if(ABS(v1.v.doubleValue - v2.v.doubleValue) < .01){ if(ABS(v1.v.doubleValue - v2.v.doubleValue) < .0001)/* DFC */
{
return 1; return 1;
} else { } else {
return 0; return 0;