Use of C99 extra long double math functions after r236148

Stephen Montgomery-Smith stephen at missouri.edu
Mon May 28 16:01:26 UTC 2012


One thing that could be done is to have a "math/cephes" port that adds 
the extra C99 math functions.  This is already done in the math/sage 
port, using a rather clever patch due to Peter Jeremy, that applies to 
the cephes code.

What it would do is to create a /usr/local/lib/libm.so that would 
provide the extra functions not currently included in /lib/libm.so, and 
then link in /lib/libm.so as well.  It would also create its own 
/usr/local/include/math.h and /usr/local/include/complex.h as well.

What do you guys think?  Do you want someone to start experimenting with 
this idea?  I could do it, but probably not for a little while.

Stephen



More information about the freebsd-current mailing list