From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31967 invoked by alias); 31 May 2006 05:15:10 -0000 Received: (qmail 31959 invoked by uid 22791); 31 May 2006 05:15:08 -0000 X-Spam-Flag: YES X-Spam-Check-By: sourceware.org Received: from Unknown (HELO dns3.inventec-inc.com) (218.2.115.174) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 31 May 2006 05:14:54 +0000 Received: from inc-mx6.inc.iac ([10.170.254.86]) by dns3.inventec-inc.com with InterScan Message Security Suite; Wed, 31 May 2006 13:15:22 +0800 Received: from INC-MX8.inc.iac ([10.170.254.181]) by inc-mx6.inc.iac with Microsoft SMTPSVC(6.0.3790.1830); Wed, 31 May 2006 13:14:38 +0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: quoted-printable Date: Wed, 31 May 2006 05:15:00 -0000 Message-ID: From: To: X-imss-version: 2.040 X-imss-result: Passed X-imss-scanInfo: M:P L:N SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:3.52.1006(14478.001) X-imss-scores: Clean:55.34385 C:2 M:4 S:5 R:5 X-imss-settings: Baseline:2 C:1 M:1 S:1 R:1 (0.1500 0.1500) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] One question. X-SW-Source: 2006-05/txt/msg00261.txt.bz2 Dear ALL: I use the ecos package , and I found the double type question Double dnum1 =3D 1234567.1 Double dnum2 =3D 1234567 Double result =3D 0 ; Result =3D dnum1-dnum2 ; The result is 0.10000000009 Anybody know how to solve this question? BR Green -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss