提交 1499029a 编写于 作者: M Michiharu Ariza

fixed a bug

上级 0bd5912a
...@@ -185,7 +185,7 @@ struct DictOpSet : OpSet<Number> ...@@ -185,7 +185,7 @@ struct DictOpSet : OpSet<Number>
return false; return false;
case END: case END:
value = (double)int_part; value = (double)(neg? -int_part: int_part);
if (frac_count > 0) if (frac_count > 0)
value += (frac_part / pow (10.0, (double)frac_count)); value += (frac_part / pow (10.0, (double)frac_count));
if (exp_part != 0) if (exp_part != 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册