can't link against math.h
stephen at missouri.edu
Thu Oct 26 03:02:00 UTC 2017
On 10/25/2017 09:05 PM, blubee blubeeme wrote:
> I wrote a simple test program to test and see if math.h has the function:
> Does FreeBSD math.h have expf10 and if so, how do I link against it?
I think exp10f is a Linux only function. In its man page, it says it is
a GNU extension.
I would implement it using the pow function, e.g.
#define exp10f(x) (powf(10.,x))
More information about the freebsd-ports