[Bug 216864] C11 conformance: cpow(), cpowf, and cpowl are missing

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 7 22:18:06 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216864

--- Comment #4 from Steve Kargl <kargl at FreeBSD.org> ---
Ed wrote:
> Patches for better quality implementations of
> these are most welcome.

Not sure if you're being cheeky or not.

I'm still trying to fix the kludge perpetrated
by theraven@ with his imprecise.c mess.  There's
only 2 functions left from that fiasco (powl and
tgammal).  I fixed erfl, erfcl, lgammal, lgammal_r,
coshl, sinhl, and tanhl.  Getting the details correct
(at least for me) isn't easy.

r336299 committed code from Cephes for powl, which
now papers over theraven@'s original kludge for powl.
So, we went from bad to possibly worse.

Drive-by commits where the committer has no intention
of actually fixing libm, let alone testing, is a
major disincentive to continue to work on libm.

Finally, libm isn't C99 compliant because ccoshl,
ccosl, cexpl, csinhl, csinl, ctanhl, and ctanl are all
missing.  I spent part of the last two weeks working
on ccoshl, ccosl, and cexpl, and had planned to work
on csinhl and csinl this weekend.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-standards mailing list