[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/48376: ceill() not in libm
>Synopsis: ceill() not in libm
>Arrival-Date: Mon Nov 11 21:00:00 +0000 2013
>Originator: David A. Holland
>Release: NetBSD 6.99.25 (20131102)
ceill() is declared in math.h but not present in libm, which only
contains ceil() and ceilf().
Having it declared but not defined causes problems with packages that
don't autoconf thoroughly. Also, not having it causes problems with
packages that justifiably expect it to exist.
See PR 48334 for the case that brought this problem to light.
It looks like ceill() is not the only such function; cosl(), for
example, is also declared in math.h but not present in libm.
A number of these functions are defined in libstdc++.so; that seems
problematic in its own right.
Dunno. For platforms where long double == double it's all relatively
easy, but I don't know how or where we handle that.
Main Index |
Thread Index |