Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2012 11:01:24 -0500
From:      Stephen Montgomery-Smith <stephen@missouri.edu>
To:        freebsd-current@freebsd.org
Subject:   Re: Use of C99 extra long double math functions after r236148
Message-ID:  <4FC3A154.8030702@missouri.edu>
In-Reply-To: <4FC38B81.6000302@gwdg.de>
References:  <4FC30090.4070003@gwdg.de> <4D8CF7D2-CBEE-438E-A9E7-9C47A8892622@FreeBSD.org> <4FC36FE1.9080908@gwdg.de> <DFE44442-A1B1-40B3-9A79-874BD2BE45E7@FreeBSD.org> <4FC38B81.6000302@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FC3A154.8030702>