This is the mail archive of the
mailing list for the eCos project.
[Bug 1001539] Single precision floating point math library
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: unassigned at bugs dot ecos dot sourceware dot org
- Date: Fri, 07 Jun 2013 12:46:10 +0000
- Subject: [Bug 1001539] Single precision floating point math library
- Auto-submitted: auto-generated
- References: <bug-1001539-777 at http dot bugs dot ecos dot sourceware dot org/>
Please do not reply to this email, use the link below.
--- Comment #26 from Ilija Kocho <email@example.com> ---
John, thank you for the testing and comment. In meantime I have been working on
this bug and I am going to post patch(es) later today.
(In reply to comment #25)
> Ilija, I have tested the current patches on the "psim" target (big-endian).
> In the default configuration (CYGNUM_LIBM_COMPATIBILITY), I see 5 libm test
> failures (out of tolerance): frexpf, asinf, logf, acosf, log10f
> In IEEE-only configuration (CYGSEM_LIBM_COMPAT_IEEE_ONLY), I get a build
> error (EDOM undeclared). If I fix the build error by including <errno.h>
> unconditionally from vector_support_float.h
To be honest I don't know the implications for including errno.h on this
condition. This header is a copy of vector_support.h adapted for SP floats.
Note: An explanation is appreciated.
For the time being, to be on a safe side I would put:
# include <errno.h> // For Cyg_ErrNo
+# ifndef EDOM
+# define EDOM 33
>then I see 1 libm test failure
> (out of tolerance): frexpf
> I hope this helps.
I do not recall such failures (It's been a long time when I last tested on
Cortex-M), but now I'll run the tests with both hard and soft FP.
You are receiving this mail because:
You are the assignee for the bug.