This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
One question.
- From: <Zhao dot Green at inventec-inc dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 31 May 2006 13:14:38 +0800
- Subject: [ECOS] One question.
Dear ALL:
I use the ecos package , and I found the double type question
Double dnum1 = 1234567.1
Double dnum2 = 1234567
Double result = 0 ;
Result = 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