This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
eCos math problem
- From: "Daniel Lidsten" <Daniel dot Lidsten at combitechsystems dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 23 Sep 2003 13:04:10 +0200
- Subject: [ECOS] eCos math problem
Hi,
I am having some trouble with the math library on my MPC823 board. Some
functions works ok, like cos, sin, sqrt but when i try the exp() and
pow() functions then they both return the wrong answer. Both exp(1) and
exp(5) return the value <1.0726932e+009>. The same goes for pow(10,2)
which returns <1.0653532e+009>. How can some of all math operations be
ok while others are broken?
Are the above functions a part of eCos or are they fetched from the
compiler? When do i start the debugging?
Regards, Daniel Lidsten
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss