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:
> exp10f

> 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.

http://man7.org/linux/man-pages/man3/exp10.3.html

I would implement it using the pow function, e.g.

#define exp10f(x) (powf(10.,x))
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to