standards/141705: libc lacks cexp (and friends)

Gerald Pfeifer gerald at
Thu Dec 17 10:30:02 UTC 2009

>Number:         141705
>Category:       standards
>Synopsis:       libc lacks cexp (and friends)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-standards
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 17 10:30:01 UTC 2009
>Originator:     Gerald Pfeifer
	FreeBSD up to and include 8.0, from what I can tell, does not
	provide cexp and related functions as part of libc.  This is
	in contrast to GNU libc, say, and prevents GCC leveraging some
	more advanced optimizations during compile time.

	In other words, some numeric code will run slower on FreeBSD
	than other systems due to the lack of cexp in libc.
	Once this is fixed, GCC will need to be adjusted similarly,
	which I can help with.

More information about the freebsd-standards mailing list