This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]