Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 16149 invoked from network); 14 Dec 2004 04:30:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Dec 2004 04:30:19 -0000 Received: (qmail 50878 invoked by uid 500); 14 Dec 2004 04:30:19 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 50861 invoked by uid 500); 14 Dec 2004 04:30:19 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 50848 invoked by uid 99); 14 Dec 2004 04:30:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of samisa.abeysinghe@gmail.com designates 64.233.184.196 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.196) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Dec 2004 20:30:15 -0800 Received: by wproxy.gmail.com with SMTP id 58so42833wri for ; Mon, 13 Dec 2004 20:30:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=HqWKkTYyED0ZiWMrUwJpvNFwrNahewwmDWtklznVeymtPCtTulSTFG6JzMLDh6viTjZy5BnFid9xuVLC9sGWou/x3iI7YKYnEj8iMQTX1T02RwAOXDxyOqg17Y1x5U4JLYoX1+jTRvkR0tq1e/FeECXgVYCCgRXGsSItPxj9wqI= Received: by 10.54.46.57 with SMTP id t57mr2528080wrt; Mon, 13 Dec 2004 20:30:13 -0800 (PST) Received: by 10.54.28.30 with HTTP; Mon, 13 Dec 2004 20:30:13 -0800 (PST) Message-ID: Date: Tue, 14 Dec 2004 04:30:13 +0000 From: Samisa Abeysinghe Reply-To: Samisa Abeysinghe To: Apache AXIS C Developers List Subject: Re: Number of decimal places in float (and decimal, double) In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <0e2301c4e12c$79be1ed0$83604109@LANKABOOK> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N OK, I found a solution to go beyond the 4 decimal place limit. However, there still would be some element of error involved (but very small, about 0.0000000000001) I think this is acceptable. Samisa... On Tue, 14 Dec 2004 01:32:25 +0000, Samisa Abeysinghe wrote: > Sanjiva, the standard functions (e.g. sprintf, strtod, etc.) that we > are using in serialization/deserialization does not seem to retain > precision the way we want. There are some work-arounds but does not > work exctly the way we want them to. > > John, yes I will have a look at XSD spec. I think that is the best > thing to do in order to find out what we sould be supporting. > > Thanks, > Samisa... > > > > > On Mon, 13 Dec 2004 21:57:36 +0600, Sanjiva Weerawarana > wrote: > > Yes I agree. > > > > Samisa, why wouldn't we retain all the precision that's available? > > Maybe I don't understand the issue (entirely possible!). > > > > Sanjiva. > > > > > > > > ----- Original Message ----- > > From: "John Hawkins" > > To: "Apache AXIS C Developers List" > > Sent: Monday, December 13, 2004 7:01 PM > > Subject: Re: Number of decimal places in float (and decimal, double) > > > > > > > > > > > > > > > > > This is a huge area that I can't see we've discussed before? > > > > > > To my logic we should be looking at the attributes on the types for their > > > description of what they are expecting shouldn't we ? > > > > > > > > > John Hawkins > > > > > > > > > > > > > > > > > > Samisa Abeysinghe > > > > > e@gmail.com> To > > > Apache AXIS C Developers List > > > 13/12/2004 09:10 > > > cc > > > > > > Please respond to Subject > > > "Apache AXIS C Number of decimal places in float > > > Developers List" (and decimal, double) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi Folks, > > > As per http://nagoya.apache.org/jira/browse/AXISCPP-320, are we > > > happy with a 4 decimal place acuracy, or do we need more decimal > > > places be represented correctly? > > > > > > Thanks, > > > Samisa... > > > > > > > > > > > > > >