mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 002714e2ccba (bug 1222866) for m2 test failures
This commit is contained in:
parent
0c995ca23b
commit
c0261d4a01
@ -93,9 +93,7 @@ public:
|
||||
if (mozilla::IsInfinite<double>(aValue)) {
|
||||
return FromInfinity();
|
||||
}
|
||||
// Due to internal double representation, this
|
||||
// operation is not commutative, do not attempt to simplify.
|
||||
double val = (aValue + .0000005) * USECS_PER_S;
|
||||
double val = aValue * USECS_PER_S;
|
||||
if (val >= double(INT64_MAX)) {
|
||||
return FromMicroseconds(INT64_MAX);
|
||||
} else if (val <= double(INT64_MIN)) {
|
||||
|
Loading…
Reference in New Issue
Block a user