mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
a44b4187c9
- Projest has new homepage [1] - Mark MAKE_JOBS_UNSAFE PR: ports/167651 [1] Submitted by: Jason Bacon <jwbacon@tds.net> (maintainer) [1]
17 lines
417 B
C
17 lines
417 B
C
--- misc_math.c.orig 2012-04-18 13:42:55.000000000 -0500
|
|
+++ misc_math.c 2012-04-18 13:43:41.000000000 -0500
|
|
@@ -1,6 +1,13 @@
|
|
|
|
+/* For older libm */
|
|
+double log2(double n)
|
|
+{
|
|
+ return log(n) / log(2.0);
|
|
+}
|
|
+
|
|
/* move from Deconvolve.c into libmri.a 21 Jun 2010 [rickr] */
|
|
|
|
+
|
|
double legendre( double x , int m ) /* Legendre polynomials over [-1,1] */
|
|
{
|
|
if( m < 0 ) return 1.0 ; /* bad input */
|