[PATCH 3/3] libm: implement a generic sincos().

William Pitcock nenolod at dereferenced.org
Tue Nov 8 21:43:56 UTC 2011


On Fri, 4 Nov 2011 11:48:23 +0100
Bernhard Reutner-Fischer <rep.dot.nop at gmail.com> wrote:

> On Tue, Nov 01, 2011 at 07:18:48PM -0500, William Pitcock wrote:
> >We already provide sincos() on some archs, so we should ship a
> >generic version.
> 
> Applied, thanks!
> (IIRC you should potentially end up with the gcc builtin anyway, don't
> you?)

GCC does not appear to provide a builtin sincos() as far as I can see.
At any rate, I discovered we lacked a generic sincos() when an Alpine
x86-64 builder failed to build graphviz, so there is definitely no
sincos() there, provided by GCC or otherwise.

I intend to add the remaining complex math functions later this week,
and see where we stand regarding generic math functions.  Having a
fully functional libm (at least in practice) is obviously desirable.

William


More information about the uClibc mailing list