This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: [PATCH] In _IEEE_LIBM mode, use weak symbols instead of wrapper funcs [v2]


Wilco Dijkstra <Wilco.Dijkstra@arm.com> writes:

> I didn't say completely remove POSIX errno support. The new math
> functions do have POSIX errno support and are equally space and
> performance efficient whether you want errno or not (currently it uses
> WANT_ERRNO but it could check _IEEE_LIBM too).

This is the code enabled with __OBSOLETE_MATH set to 0? That seems to be
disabled on smaller ARM processors without HW double support? I haven't
been looking at it because I wasn't getting to use it. Is this supposed
to be something configurable when building the library? I can't see any
way to get it forced to zero.

> Note also that most of the math functions won't ever be used by embedded applications.
> So we only need to consider the commonly used math functions - the new math functions
> cover most of those already.

If I'm supposed to be using the new math code (and it sure looks like I
want at least some of it), then yes, this would be a good option.

-- 
-keith

Attachment: signature.asc
Description: PGP signature


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