natDouble.cc (toString): Added parens.
* java/lang/natDouble.cc (toString): Added parens. * gnu/gcj/io/shs.h (PROTO): Define. * link.cc (resolve_pool_entry): Added missing braces. From-SVN: r120652
This commit is contained in:
parent
26b53f802d
commit
ea517ca550
4 changed files with 23 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
|||
// natDouble.cc - Implementation of java.lang.VMDouble native methods.
|
||||
|
||||
/* Copyright (C) 1998, 1999, 2000, 2001, 2003, 2005, 2006 Free Software Foundation
|
||||
/* Copyright (C) 1998, 1999, 2000, 2001, 2003, 2005, 2006, 2007 Free Software Foundation
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
|
@ -87,7 +87,7 @@ java::lang::VMDouble::toString(jdouble value, jboolean isFloat)
|
|||
if (sign)
|
||||
*d++ = '-';
|
||||
|
||||
if (value >= 1e-3 && value < 1e7 || value == 0)
|
||||
if ((value >= 1e-3 && value < 1e7) || value == 0)
|
||||
{
|
||||
if (decpt <= 0)
|
||||
*d++ = '0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue