|
Boost-Commit : |
From: john_at_[hidden]
Date: 2008-05-05 07:07:58
Author: johnmaddock
Date: 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
New Revision: 45126
URL: http://svn.boost.org/trac/boost/changeset/45126
Log:
Added source for TR1 C-compatible versions of the math functions.
Added:
sandbox/math_toolkit/libs/math/build/
sandbox/math_toolkit/libs/math/build/Jamfile.v2 (contents, props changed)
sandbox/math_toolkit/libs/math/src/
sandbox/math_toolkit/libs/math/src/tr1/
sandbox/math_toolkit/libs/math/src/tr1/acosh.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/acoshf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/acoshl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/asinh.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/asinhf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/asinhl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/assoc_laguerre.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/assoc_laguerref.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/assoc_laguerrel.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/assoc_legendre.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/assoc_legendref.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/assoc_legendrel.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/atanh.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/atanhf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/atanhl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/beta.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/betaf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/betal.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/c_policy.hpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cbrt.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cbrtf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cbrtl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_1.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_1f.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_1l.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_2.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_2f.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_2l.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_3.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_3f.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_3l.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/copysign.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/copysignf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/copysignl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_i.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_if.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_il.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_j.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_jf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_jl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_k.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_kf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_kl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cyl_neumann.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cyl_neumannf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/cyl_neumannl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/ellint_1.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/ellint_1f.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/ellint_1l.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/ellint_2.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/ellint_2f.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/ellint_2l.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/ellint_3.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/ellint_3f.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/ellint_3l.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/erf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/erfc.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/erfcf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/erfcl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/erff.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/erfl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/expint.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/expintf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/expintl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/expm1.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/expm1f.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/expm1l.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/fmax.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/fmaxf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/fmaxl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/fmin.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/fminf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/fminl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/fpclassify.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/fpclassifyf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/fpclassifyl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/hermite.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/hermitef.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/hermitel.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/hypot.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/hypotf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/hypotl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/laguerre.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/laguerref.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/laguerrel.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/legendre.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/legendref.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/legendrel.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/lgamma.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/lgammaf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/lgammal.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/llround.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/llroundf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/llroundl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/log1p.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/log1pf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/log1pl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/lround.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/lroundf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/lroundl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/nextafter.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/nextafterf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/nextafterl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/nexttoward.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/nexttowardf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/nexttowardl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/riemann_zeta.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/riemann_zetaf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/riemann_zetal.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/round.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/roundf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/roundl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/sph_bessel.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/sph_besself.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/sph_bessell.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/sph_legendre.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/sph_legendref.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/sph_legendrel.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/sph_neumann.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/sph_neumannf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/sph_neumannl.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/tgamma.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/tgammaf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/tgammal.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/trunc.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/truncf.cpp (contents, props changed)
sandbox/math_toolkit/libs/math/src/tr1/truncl.cpp (contents, props changed)
Added: sandbox/math_toolkit/libs/math/build/Jamfile.v2
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/build/Jamfile.v2 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,64 @@
+# copyright John Maddock 2008
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt.
+
+SOURCES = acosh
+asinh
+assoc_laguerre
+assoc_legendre
+atanh
+beta
+cbrt
+comp_ellint_1
+comp_ellint_2
+comp_ellint_3
+copysign
+cyl_bessel_i
+cyl_bessel_j
+cyl_bessel_k
+cyl_neumann
+ellint_1
+ellint_2
+ellint_3
+erfc
+erf
+expint
+expm1
+fmax
+fmin
+fpclassify
+hermite
+hypot
+laguerre
+legendre
+lgamma
+llround
+log1p
+lround
+nextafter
+nexttoward
+riemann_zeta
+round
+sph_bessel
+sph_legendre
+sph_neumann
+tgamma
+trunc ;
+
+lib boost_math_tr1 : ../src/tr1/$(SOURCES).cpp
+ :
+ <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
+ ;
+
+lib boost_math_tr1f : ../src/tr1/$(SOURCES)f.cpp
+ :
+ <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
+ ;
+
+lib boost_math_tr1l : ../src/tr1/$(SOURCES)l.cpp
+ :
+ <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
+ ;
+
+
Added: sandbox/math_toolkit/libs/math/src/tr1/acosh.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/acosh.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/acosh.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL acosh(double x)
+{
+ return c_policies::acosh(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/acoshf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/acoshf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/acosh.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL acoshf(float x)
+{
+ return c_policies::acosh(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/acoshl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/acoshl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/acosh.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL acoshl(long double x)
+{
+ return c_policies::acosh(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/asinh.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/asinh.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/asinh.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL asinh(double x)
+{
+ return c_policies::asinh(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/asinhf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/asinhf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/asinh.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL asinhf(float x)
+{
+ return c_policies::asinh(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/asinhl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/asinhl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/asinh.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL asinhl(long double x)
+{
+ return c_policies::asinh(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/assoc_laguerre.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/assoc_laguerre.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/laguerre.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL assoc_laguerre(unsigned n, unsigned m, double x)
+{
+ return c_policies::laguerre(n, m, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/assoc_laguerref.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/assoc_laguerref.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/laguerre.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL assoc_laguerref(unsigned n, unsigned m, float x)
+{
+ return c_policies::laguerre(n, m, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/assoc_laguerrel.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/assoc_laguerrel.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/laguerre.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL assoc_laguerrel(unsigned n, unsigned m, long double x)
+{
+ return c_policies::laguerre(n, m, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/assoc_legendre.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/assoc_legendre.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/legendre.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL assoc_legendre(unsigned l, unsigned m, double x)
+{
+ return c_policies::legendre_p(l, m, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/assoc_legendref.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/assoc_legendref.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/legendre.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL assoc_legendref(unsigned l, unsigned m, float x)
+{
+ return c_policies::legendre_p(l, m, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/assoc_legendrel.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/assoc_legendrel.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/legendre.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL assoc_legendrel(unsigned l, unsigned m, long double x)
+{
+ return c_policies::legendre_p(l, m, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/atanh.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/atanh.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/atanh.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL atanh(double x)
+{
+ return c_policies::atanh(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/atanhf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/atanhf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/atanh.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL atanhf(float x)
+{
+ return c_policies::atanh(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/atanhl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/atanhl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/atanh.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL atanhl(long double x)
+{
+ return c_policies::atanh(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/beta.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/beta.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/beta.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL beta(double x, double y)
+{
+ return c_policies::beta(x, y);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/betaf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/betaf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/beta.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL betaf(float x, float y)
+{
+ return c_policies::beta(x, y);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/betal.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/betal.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/beta.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL betal(long double x, long double y)
+{
+ return c_policies::beta(x, y);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/c_policy.hpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/c_policy.hpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,29 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#include <boost/math/policies/policy.hpp>
+#include <boost/math/special_functions/math_fwd.hpp>
+
+namespace c_policies{
+
+using boost::math::policies::policy;
+using boost::math::policies::errno_on_error;
+using boost::math::policies::domain_error;
+using boost::math::policies::pole_error;
+using boost::math::policies::overflow_error;
+using boost::math::policies::rounding_error;
+using boost::math::policies::evaluation_error;
+
+typedef policy<
+ domain_error<errno_on_error>,
+ pole_error<errno_on_error>,
+ overflow_error<errno_on_error>,
+ rounding_error<errno_on_error>,
+ evaluation_error<errno_on_error>
+> c_policy;
+
+BOOST_MATH_DECLARE_SPECIAL_FUNCTIONS(c_policy)
+
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cbrt.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cbrt.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/cbrt.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL cbrt(double x)
+{
+ return c_policies::cbrt(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cbrtf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cbrtf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/cbrt.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL cbrtf(float x)
+{
+ return c_policies::cbrt(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cbrtl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cbrtl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/cbrt.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL cbrtl(long double x)
+{
+ return c_policies::cbrt(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_1.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_1.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_1.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL comp_ellint_1(double x)
+{
+ return c_policies::ellint_1(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_1f.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_1f.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_1.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL comp_ellint_1f(float x)
+{
+ return c_policies::ellint_1(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_1l.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_1l.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_1.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL comp_ellint_1l(long double x)
+{
+ return c_policies::ellint_1(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_2.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_2.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_2.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL comp_ellint_2(double x)
+{
+ return c_policies::ellint_2(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_2f.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_2f.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_2.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL comp_ellint_2f(float x)
+{
+ return c_policies::ellint_2(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_2l.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_2l.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_2.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL comp_ellint_2l(long double x)
+{
+ return c_policies::ellint_2(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_3.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_3.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_3.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL comp_ellint_3(double k, double nu)
+{
+ return c_policies::ellint_3(k, nu);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_3f.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_3f.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_3.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL comp_ellint_3f(float k, float nu)
+{
+ return c_policies::ellint_3(k, nu);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_3l.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/comp_ellint_3l.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_3.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL comp_ellint_3l(long double k, long double nu)
+{
+ return c_policies::ellint_3(k, nu);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/copysign.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/copysign.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/sign.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL copysign(double x, double y)
+{
+ return boost::math::copysign(x, y);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/copysignf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/copysignf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/sign.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL copysignf(float x, float y)
+{
+ return boost::math::copysign(x, y);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/copysignl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/copysignl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/sign.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL copysignl(long double x, long double y)
+{
+ return boost::math::copysign(x, y);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_i.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_i.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL cyl_bessel_i(double nu, double x)
+{
+ return c_policies::cyl_bessel_i(nu, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_if.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_if.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL cyl_bessel_if(float nu, float x)
+{
+ return c_policies::cyl_bessel_i(nu, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_il.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_il.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL cyl_bessel_il(long double nu, long double x)
+{
+ return c_policies::cyl_bessel_i(nu, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_j.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_j.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL cyl_bessel_j(double nu, double x)
+{
+ return c_policies::cyl_bessel_j(nu, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_jf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_jf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL cyl_bessel_jf(float nu, float x)
+{
+ return c_policies::cyl_bessel_j(nu, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_jl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_jl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL cyl_bessel_jl(long double nu, long double x)
+{
+ return c_policies::cyl_bessel_j(nu, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_k.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_k.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL cyl_bessel_k(double nu, double x)
+{
+ return c_policies::cyl_bessel_k(nu, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_kf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_kf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL cyl_bessel_kf(float nu, float x)
+{
+ return c_policies::cyl_bessel_k(nu, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_kl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cyl_bessel_kl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL cyl_bessel_kl(long double nu, long double x)
+{
+ return c_policies::cyl_bessel_k(nu, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cyl_neumann.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cyl_neumann.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL cyl_neumann(double nu, double x)
+{
+ return c_policies::cyl_neumann(nu, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cyl_neumannf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cyl_neumannf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL cyl_neumannf(float nu, float x)
+{
+ return c_policies::cyl_neumann(nu, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/cyl_neumannl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/cyl_neumannl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL cyl_neumannl(long double nu, long double x)
+{
+ return c_policies::cyl_neumann(nu, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/ellint_1.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/ellint_1.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_1.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL ellint_1(double k, double phi)
+{
+ return c_policies::ellint_1(k, phi);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/ellint_1f.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/ellint_1f.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_1.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL ellint_1f(float k, float phi)
+{
+ return c_policies::ellint_1(k, phi);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/ellint_1l.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/ellint_1l.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_1.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL ellint_1l(long double k, long double phi)
+{
+ return c_policies::ellint_1(k, phi);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/ellint_2.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/ellint_2.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_2.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL ellint_2(double k, double phi)
+{
+ return c_policies::ellint_2(k, phi);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/ellint_2f.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/ellint_2f.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_2.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL ellint_2f(float k, float phi)
+{
+ return c_policies::ellint_2(k, phi);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/ellint_2l.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/ellint_2l.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_2.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL ellint_2l(long double k, long double phi)
+{
+ return c_policies::ellint_2(k, phi);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/ellint_3.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/ellint_3.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_3.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL ellint_3(double k, double nu, double phi)
+{
+ return c_policies::ellint_3(k, nu, phi);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/ellint_3f.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/ellint_3f.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_3.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL ellint_3f(float k, float nu, float phi)
+{
+ return c_policies::ellint_3(k, nu, phi);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/ellint_3l.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/ellint_3l.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/ellint_3.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL ellint_3l(long double k, long double nu, long double phi)
+{
+ return c_policies::ellint_3(k, nu, phi);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/erf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/erf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/erf.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL erf(double x)
+{
+ return c_policies::erf(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/erfc.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/erfc.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/erf.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL erfc(double x)
+{
+ return c_policies::erfc(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/erfcf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/erfcf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/erf.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL erfcf(float x)
+{
+ return c_policies::erfc(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/erfcl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/erfcl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/erf.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL erfcl(long double x)
+{
+ return c_policies::erfc(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/erff.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/erff.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/erf.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL erff(float x)
+{
+ return c_policies::erf(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/erfl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/erfl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/erf.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL erfl(long double x)
+{
+ return c_policies::erf(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/expint.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/expint.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/expint.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL expint(double x)
+{
+ return c_policies::expint(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/expintf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/expintf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/expint.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL expintf(float x)
+{
+ return c_policies::expint(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/expintl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/expintl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/expint.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL expintl(long double x)
+{
+ return c_policies::expint(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/expm1.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/expm1.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/expm1.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL expm1(double x)
+{
+ return c_policies::expm1(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/expm1f.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/expm1f.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/expm1.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL expm1f(float x)
+{
+ return c_policies::expm1(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/expm1l.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/expm1l.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/expm1.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL expm1l(long double x)
+{
+ return c_policies::expm1(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/fmax.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/fmax.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/fpclassify.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL fmax(double x, double y)
+{
+ if((boost::math::isnan)(x))
+ return y;
+ if((boost::math::isnan)(y))
+ return x;
+ return (std::max)(x, y);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/fmaxf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/fmaxf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/fpclassify.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL fmaxf(float x, float y)
+{
+ if((boost::math::isnan)(x))
+ return y;
+ if((boost::math::isnan)(y))
+ return x;
+ return (std::max)(x, y);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/fmaxl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/fmaxl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/fpclassify.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL fmaxl(long double x, long double y)
+{
+ if((boost::math::isnan)(x))
+ return y;
+ if((boost::math::isnan)(y))
+ return x;
+ return (std::max)(x, y);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/fmin.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/fmin.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/fpclassify.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL fmin(double x, double y)
+{
+ if((boost::math::isnan)(x))
+ return y;
+ if((boost::math::isnan)(y))
+ return x;
+ return (std::min)(x, y);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/fminf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/fminf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/fpclassify.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL fminf(float x, float y)
+{
+ if((boost::math::isnan)(x))
+ return y;
+ if((boost::math::isnan)(y))
+ return x;
+ return (std::min)(x, y);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/fminl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/fminl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/fpclassify.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL fminl(long double x, long double y)
+{
+ if((boost::math::isnan)(x))
+ return y;
+ if((boost::math::isnan)(y))
+ return x;
+ return (std::min)(x, y);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/fpclassify.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/fpclassify.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,46 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/fpclassify.hpp>
+#include <boost/math/special_functions/sign.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+#define NO_MACRO_EXPAND /**/
+
+template<> bool BOOST_MATH_TR1_DECL signbit<double> NO_MACRO_EXPAND(double x)
+{
+ return static_cast<bool>(boost::math::signbit(x));
+}
+
+template<> int BOOST_MATH_TR1_DECL fpclassify<double> NO_MACRO_EXPAND(double x)
+{
+ return boost::math::fpclassify(x);
+}
+
+template<> bool BOOST_MATH_TR1_DECL isfinite<double> NO_MACRO_EXPAND(double x)
+{
+ return boost::math::isfinite(x);
+}
+
+template<> bool BOOST_MATH_TR1_DECL isinf<double> NO_MACRO_EXPAND(double x)
+{
+ return boost::math::isinf(x);
+}
+
+template<> bool BOOST_MATH_TR1_DECL isnan<double> NO_MACRO_EXPAND(double x)
+{
+ return boost::math::isnan(x);
+}
+
+template<> bool BOOST_MATH_TR1_DECL isnormal<double> NO_MACRO_EXPAND(double x)
+{
+ return boost::math::isnormal(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/fpclassifyf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/fpclassifyf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,46 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/fpclassify.hpp>
+#include <boost/math/special_functions/sign.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+#define NO_MACRO_EXPAND /**/
+
+template<> bool BOOST_MATH_TR1_DECL signbit<float> NO_MACRO_EXPAND(float x)
+{
+ return static_cast<bool>(boost::math::signbit(x));
+}
+
+template<> int BOOST_MATH_TR1_DECL fpclassify<float> NO_MACRO_EXPAND(float x)
+{
+ return boost::math::fpclassify(x);
+}
+
+template<> bool BOOST_MATH_TR1_DECL isfinite<float> NO_MACRO_EXPAND(float x)
+{
+ return boost::math::isfinite(x);
+}
+
+template<> bool BOOST_MATH_TR1_DECL isinf<float> NO_MACRO_EXPAND(float x)
+{
+ return boost::math::isinf(x);
+}
+
+template<> bool BOOST_MATH_TR1_DECL isnan<float> NO_MACRO_EXPAND(float x)
+{
+ return boost::math::isnan(x);
+}
+
+template<> bool BOOST_MATH_TR1_DECL isnormal<float> NO_MACRO_EXPAND(float x)
+{
+ return boost::math::isnormal(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/fpclassifyl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/fpclassifyl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,46 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/fpclassify.hpp>
+#include <boost/math/special_functions/sign.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+#define NO_MACRO_EXPAND /**/
+
+template<> bool BOOST_MATH_TR1_DECL signbit<long double> NO_MACRO_EXPAND(long double x)
+{
+ return static_cast<bool>(boost::math::signbit(x));
+}
+
+template<> int BOOST_MATH_TR1_DECL fpclassify<long double> NO_MACRO_EXPAND(long double x)
+{
+ return boost::math::fpclassify(x);
+}
+
+template<> bool BOOST_MATH_TR1_DECL isfinite<long double> NO_MACRO_EXPAND(long double x)
+{
+ return boost::math::isfinite(x);
+}
+
+template<> bool BOOST_MATH_TR1_DECL isinf<long double> NO_MACRO_EXPAND(long double x)
+{
+ return boost::math::isinf(x);
+}
+
+template<> bool BOOST_MATH_TR1_DECL isnan<long double> NO_MACRO_EXPAND(long double x)
+{
+ return boost::math::isnan(x);
+}
+
+template<> bool BOOST_MATH_TR1_DECL isnormal<long double> NO_MACRO_EXPAND(long double x)
+{
+ return boost::math::isnormal(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/hermite.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/hermite.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/hermite.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL hermite(unsigned n, double x)
+{
+ return c_policies::hermite(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/hermitef.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/hermitef.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/hermite.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL hermitef(unsigned n, float x)
+{
+ return c_policies::hermite(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/hermitel.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/hermitel.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/hermite.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL hermitel(unsigned n, long double x)
+{
+ return c_policies::hermite(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/hypot.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/hypot.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/hypot.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" double BOOST_MATH_TR1_DECL hypot(double x, double y)
+{
+ return c_policies::hypot(x, y);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/hypotf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/hypotf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/hypot.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" float BOOST_MATH_TR1_DECL hypotf(float x, float y)
+{
+ return c_policies::hypot(x, y);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/hypotl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/hypotl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/hypot.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long double BOOST_MATH_TR1_DECL hypotl(long double x, long double y)
+{
+ return c_policies::hypot(x, y);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/laguerre.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/laguerre.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/laguerre.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL laguerre(unsigned n, double x)
+{
+ return c_policies::laguerre(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/laguerref.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/laguerref.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/laguerre.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL laguerref(unsigned n, float x)
+{
+ return c_policies::laguerre(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/laguerrel.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/laguerrel.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/laguerre.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL laguerrel(unsigned n, long double x)
+{
+ return c_policies::laguerre(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/legendre.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/legendre.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/legendre.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL legendre(unsigned n, double x)
+{
+ return c_policies::legendre_p(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/legendref.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/legendref.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/legendre.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL legendref(unsigned n, float x)
+{
+ return c_policies::legendre_p(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/legendrel.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/legendrel.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/legendre.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL legendrel(unsigned n, long double x)
+{
+ return c_policies::legendre_p(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/lgamma.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/lgamma.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/gamma.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" double BOOST_MATH_TR1_DECL lgamma(double x)
+{
+ return c_policies::lgamma(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/lgammaf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/lgammaf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/gamma.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" float BOOST_MATH_TR1_DECL lgammaf(float x)
+{
+ return c_policies::lgamma(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/lgammal.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/lgammal.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/gamma.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long double BOOST_MATH_TR1_DECL lgammal(long double x)
+{
+ return c_policies::lgamma(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/llround.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/llround.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/round.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long long BOOST_MATH_TR1_DECL llround(double x)
+{
+ return c_policies::llround(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/llroundf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/llroundf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/round.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long long BOOST_MATH_TR1_DECL llroundf(float x)
+{
+ return c_policies::llround(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/llroundl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/llroundl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/round.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long long BOOST_MATH_TR1_DECL llroundl(long double x)
+{
+ return c_policies::llround(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/log1p.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/log1p.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/log1p.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" double BOOST_MATH_TR1_DECL log1p(double x)
+{
+ return c_policies::log1p(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/log1pf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/log1pf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/log1p.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" float BOOST_MATH_TR1_DECL log1pf(float x)
+{
+ return c_policies::log1p(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/log1pl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/log1pl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/log1p.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long double BOOST_MATH_TR1_DECL log1pl(long double x)
+{
+ return c_policies::log1p(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/lround.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/lround.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/round.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long BOOST_MATH_TR1_DECL lround(double x)
+{
+ return c_policies::lround(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/lroundf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/lroundf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/round.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long BOOST_MATH_TR1_DECL lroundf(float x)
+{
+ return c_policies::lround(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/lroundl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/lroundl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/round.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long BOOST_MATH_TR1_DECL lroundl(long double x)
+{
+ return c_policies::lround(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/nextafter.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/nextafter.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/next.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" double BOOST_MATH_TR1_DECL nextafter(double x, double y)
+{
+ return c_policies::nextafter(x, y);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/nextafterf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/nextafterf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/next.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" float BOOST_MATH_TR1_DECL nextafterf(float x, float y)
+{
+ return c_policies::nextafter(x, y);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/nextafterl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/nextafterl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/next.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long double BOOST_MATH_TR1_DECL nextafterl(long double x, long double y)
+{
+ return c_policies::nextafter(x, y);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/nexttoward.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/nexttoward.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/next.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" double BOOST_MATH_TR1_DECL nexttoward(double x, long double y)
+{
+ return (double)c_policies::nextafter((long double)x, y);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/nexttowardf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/nexttowardf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/next.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" float BOOST_MATH_TR1_DECL nexttowardf(float x, long double y)
+{
+ return (float)c_policies::nextafter((long double)x, y);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/nexttowardl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/nexttowardl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/next.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long double BOOST_MATH_TR1_DECL nexttowardl(long double x, long double y)
+{
+ return c_policies::nextafter(x, y);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/riemann_zeta.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/riemann_zeta.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/zeta.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL riemann_zeta(double x)
+{
+ return c_policies::zeta(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/riemann_zetaf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/riemann_zetaf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/zeta.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL riemann_zetaf(float x)
+{
+ return c_policies::zeta(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/riemann_zetal.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/riemann_zetal.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/zeta.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL riemann_zetal(long double x)
+{
+ return c_policies::zeta(x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/round.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/round.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/round.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" double BOOST_MATH_TR1_DECL round(double x)
+{
+ return c_policies::round(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/roundf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/roundf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/round.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" float BOOST_MATH_TR1_DECL roundf(float x)
+{
+ return c_policies::round(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/roundl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/roundl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/round.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long double BOOST_MATH_TR1_DECL roundl(long double x)
+{
+ return c_policies::round(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/sph_bessel.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/sph_bessel.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL sph_bessel(unsigned n, double x)
+{
+ return c_policies::sph_bessel(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/sph_besself.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/sph_besself.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL sph_besself(unsigned n, float x)
+{
+ return c_policies::sph_bessel(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/sph_bessell.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/sph_bessell.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL sph_bessell(unsigned n, long double x)
+{
+ return c_policies::sph_bessel(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/sph_legendre.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/sph_legendre.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/spherical_harmonic.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL sph_legendre(unsigned n, unsigned m, double x)
+{
+ return (m & 1 ? -1 : 1) * c_policies::spherical_harmonic_r(n, m, x, 0.0);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/sph_legendref.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/sph_legendref.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/spherical_harmonic.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL sph_legendref(unsigned n, unsigned m, float x)
+{
+ return (m & 1 ? -1 : 1) * c_policies::spherical_harmonic_r(n, m, x, 0.0f);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/sph_legendrel.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/sph_legendrel.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/spherical_harmonic.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL sph_legendrel(unsigned n, unsigned m, long double x)
+{
+ return (m & 1 ? -1 : 1) * c_policies::spherical_harmonic_r(n, m, x, 0.0L);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/sph_neumann.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/sph_neumann.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" double BOOST_MATH_TR1_DECL sph_neumann(unsigned n, double x)
+{
+ return c_policies::sph_neumann(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/sph_neumannf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/sph_neumannf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" float BOOST_MATH_TR1_DECL sph_neumannf(unsigned n, float x)
+{
+ return c_policies::sph_neumann(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/sph_neumannl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/sph_neumannl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,14 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/bessel.hpp>
+#include "c_policy.hpp"
+
+extern "C" long double BOOST_MATH_TR1_DECL sph_neumannl(unsigned n, long double x)
+{
+ return c_policies::sph_neumann(n, x);
+}
Added: sandbox/math_toolkit/libs/math/src/tr1/tgamma.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/tgamma.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/gamma.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" double BOOST_MATH_TR1_DECL tgamma(double x)
+{
+ return c_policies::tgamma(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/tgammaf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/tgammaf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/gamma.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" float BOOST_MATH_TR1_DECL tgammaf(float x)
+{
+ return c_policies::tgamma(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/tgammal.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/tgammal.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/gamma.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long double BOOST_MATH_TR1_DECL tgammal(long double x)
+{
+ return c_policies::tgamma(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/trunc.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/trunc.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/trunc.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" double BOOST_MATH_TR1_DECL trunc(double x)
+{
+ return c_policies::trunc(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/truncf.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/truncf.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/trunc.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" float BOOST_MATH_TR1_DECL truncf(float x)
+{
+ return c_policies::trunc(x);
+}
+
+}}}
Added: sandbox/math_toolkit/libs/math/src/tr1/truncl.cpp
==============================================================================
--- (empty file)
+++ sandbox/math_toolkit/libs/math/src/tr1/truncl.cpp 2008-05-05 07:07:48 EDT (Mon, 05 May 2008)
@@ -0,0 +1,18 @@
+// Copyright John Maddock 2008.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#define BOOST_MATH_TR1_SOURCE
+#include <boost/math/tr1.hpp>
+#include <boost/math/special_functions/trunc.hpp>
+#include "c_policy.hpp"
+
+namespace boost{ namespace math{ namespace tr1{
+
+extern "C" long double BOOST_MATH_TR1_DECL truncl(long double x)
+{
+ return c_policies::trunc(x);
+}
+
+}}}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk