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]

Re: floating point


David N. Welton wrote:
I am still running into problems with floating point.  It works fine
with the non-lazy switching, but gives me very funny results with it.
For instance, a variable that only has +=, -= and = applied to it
sometimes turns into a NaN.
>
As I'm interested in learning more about how things work, I would like
to try and track this down or at least figure out how...  I'm not sure
the best way of debugging problems at this level.  Any suggestions?
I remember having to debug some stuff here before. It isn't nice! hal/i386/arch/current/include/arch.inc is where the fun is.

Another question - I'm I correct in assuming that the built in libm
functions are not overridden with hardware-supported functions (fsin
on x86, for instance)?
Correct.

Jifl
--
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


--
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]