Bug 610303 - Function fpclassify in v8-dtoa/platform.cc may return random value. r=gal

This commit is contained in:
Leon Sha 2010-11-08 14:56:48 +08:00
parent 7b4e37ac1d
commit a1abec16cb

View File

@ -128,7 +128,7 @@ int fpclassify(double x) {
case FP_PDENORM: return FP_SUBNORMAL;
case FP_NZERO:
case FP_PZERO: return FP_ZERO;
default:
ASSERT(rv == FP_NNORM || rv == FP_PNORM);
return FP_NORMAL;
}