On Thu, Oct 26, 2017 at 03:00:48AM +0000, Montgomery-Smith, Stephen wrote: > 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. >
No. It is part of ISO/IEC TS 18661-4. Information technology -- Programming languages, their environments, and system software interfaces -- Floating-point extensions for C Part 4: Supplementary functions Look for n1950.pdf on the web. I've implemented sinpi[fl], cospi[fl], and tanpi[fl], and sent my code to freebsd-numerics. Bruce has suggested a number of improves, but I have lacked the time to fix the code. -- Steve 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=IbCHE-hONow _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"