[PATCH] libm/complex: add clog10, clog10f

Yaakov Selkowitz yselkowitz@cygwin.com
Mon Feb 22 20:43:00 GMT 2016


On 2016-02-22 11:09, Corinna Vinschen wrote:
> On Feb 22 10:14, Yaakov Selkowitz wrote:
>> On 2016-02-22 03:21, Corinna Vinschen wrote:
>>> Did you write these functions by yourself or did you fetch them from
>>> some upstream?  If so, where from?
>>
>> They are tweaks of our existing clog() and clogf().
>>
>>> My complex math is next to inexistent, but I took a look into the glibc
>>> man page.  The man page says "clog10(z) is equivalent to clog(z)/log(10)".
>>> The above is equivalent, I take it?
>>
>> https://sourceware.org/bugzilla/show_bug.cgi?id=19673
>
> Erm... sorry but I don't see any mention of atan2 in this BZ.

See newlib/libm/complex/carg.c.

> Also, what about Craig's point?

I have already fixed that locally.

-- 
Yaakov



More information about the Newlib mailing list