mirror of https://gitee.com/bigwinds/arangodb
Work around solaris integer / float comparison fault
This commit is contained in:
parent
9a209d899e
commit
9fa9d49102
|
@ -46,6 +46,11 @@ function ahuacatlNumericFunctionsTestSuite () {
|
|||
if (typeof(b) === 'number') {
|
||||
b = b.toPrecision(8);
|
||||
}
|
||||
if (((a === 0) && (b === 0.0))||
|
||||
((b === 0) && (a === 0.0))) {
|
||||
return;
|
||||
}
|
||||
|
||||
assertEqual(a, b);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue