Return-Path: X-Original-To: apmail-xmlgraphics-general-archive@www.apache.org Delivered-To: apmail-xmlgraphics-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C48E2C968 for ; Sat, 2 Jun 2012 20:22:43 +0000 (UTC) Received: (qmail 95301 invoked by uid 500); 2 Jun 2012 20:22:43 -0000 Mailing-List: contact general-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@xmlgraphics.apache.org Delivered-To: mailing list general@xmlgraphics.apache.org Received: (qmail 95286 invoked by uid 99); 2 Jun 2012 20:22:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jun 2012 20:22:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jun 2012 20:22:40 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id C666F5D73; Sat, 2 Jun 2012 20:22:19 +0000 (UTC) From: bugzilla@apache.org To: general@xmlgraphics.apache.org Subject: [Bug 53327] [PATCH] DoubleFormatUtil does not work with huge precision Date: Sat, 02 Jun 2012 20:22:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: XMLGraphicsCommons X-Bugzilla-Component: Utilities X-Bugzilla-Keywords: PatchAvailable X-Bugzilla-Severity: normal X-Bugzilla-Who: gadams@apache.org X-Bugzilla-Status: CLOSED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: general@xmlgraphics.apache.org X-Bugzilla-Target-Milestone: -- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=53327 --- Comment #4 from Glenn Adams --- (In reply to comment #3) > Thanks Glenn for applying the patch, everything seems fine after review. > I'm closing the bug. I encountered a failure when running junit on XGC today as follows: Testcase: testAllDoubleRanges took 4.477 sec FAILED value: 5.22534294505995E-4, decimals: 17, precision: 17 expected:<0.00052253429450[6]> but was:<0.00052253429450[599]> junit.framework.ComparisonFailure: value: 5.22534294505995E-4, decimals: 17, precision: 17 expected:<0.00052253429450[6]> but was:<0.00052253429450[599]> at org.apache.xmlgraphics.util.DoubleFormatUtilTest.assertEquals(DoubleFormatUtilTest.java:223) at org.apache.xmlgraphics.util.DoubleFormatUtilTest.testAllDoubleRanges(DoubleFormatUtilTest.java:531) However, on a re-attempt, it did not fail. Perhaps this is because you use random numbers in your test data. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: general-help@xmlgraphics.apache.org