$NetBSD: patch-bb,v 1.1 2008/01/13 22:59:42 rillig Exp $ Fixed ambiguity for sunpro. --- goo/GString.cc.orgi Tue Feb 27 23:05:51 2007 +++ goo/GString.cc Wed Dec 5 10:31:57 2007 @@ -528,7 +528,7 @@ if ((neg = x < 0)) { x = -x; } - x = floor(x * pow(10, prec) + 0.5); + x = floor(x * pow(10.0, prec) + 0.5); i = bufSize; started = !trim; for (j = 0; j < prec && i > 1; ++j) {