Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81627 - in trunk: boost/math/distributions boost/math/special_functions boost/math/special_functions/detail libs/math/doc/sf_and_dist libs/math/doc/sf_and_dist/html libs/math/doc/sf_and_dist/html/index libs/math/doc/sf_and_dist/html/math_toolkit/main_overview libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials libs/math/doc/sf_and_dist/html/math_toolkit/status libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float
From: john_at_[hidden]
Date: 2012-11-29 13:55:23


Author: johnmaddock
Date: 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
New Revision: 81627
URL: http://svn.boost.org/trac/boost/changeset/81627

Log:
Apply some accuracy improvements from Rocco Romeo.
Fix division by zero in inverse gamma distribution.
Minor doc fixes and regenerate.
Text files modified:
   trunk/boost/math/distributions/inverse_gamma.hpp | 3 +++
   trunk/boost/math/special_functions/detail/bessel_jn.hpp | 5 +++++
   trunk/boost/math/special_functions/gamma.hpp | 2 +-
   trunk/libs/math/doc/sf_and_dist/factorials.qbk | 2 ++
   trunk/libs/math/doc/sf_and_dist/float_next.qbk | 4 ++--
   trunk/libs/math/doc/sf_and_dist/html/index.html | 2 +-
   trunk/libs/math/doc/sf_and_dist/html/index/s13.html | 4 ++--
   trunk/libs/math/doc/sf_and_dist/html/index/s14.html | 4 ++--
   trunk/libs/math/doc/sf_and_dist/html/index/s15.html | 4 ++--
   trunk/libs/math/doc/sf_and_dist/html/index/s16.html | 4 ++--
   trunk/libs/math/doc/sf_and_dist/html/index/s17.html | 4 ++--
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/conventions.html | 2 +-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/history1.html | 8 +++++++-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/navigation.html | 2 +-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_double_factorial.html | 11 +++++++++++
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/history1.html | 8 +++++++-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_distance.html | 4 ++--
   trunk/libs/math/doc/sf_and_dist/roadmap.qbk | 3 ++-
   18 files changed, 55 insertions(+), 21 deletions(-)

Modified: trunk/boost/math/distributions/inverse_gamma.hpp
==============================================================================
--- trunk/boost/math/distributions/inverse_gamma.hpp (original)
+++ trunk/boost/math/distributions/inverse_gamma.hpp 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -259,6 +259,9 @@
    if(false == detail::check_inverse_gamma_x(function, c.param, &result, Policy()))
       return result;
 
+ if(c.param == 0)
+ return 1; // Avoid division by zero
+
    //result = 1. - gamma_q(shape, c.param / scale, Policy());
    result = gamma_p(shape, scale/c.param, Policy());
    return result;

Modified: trunk/boost/math/special_functions/detail/bessel_jn.hpp
==============================================================================
--- trunk/boost/math/special_functions/detail/bessel_jn.hpp (original)
+++ trunk/boost/math/special_functions/detail/bessel_jn.hpp 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -42,6 +42,11 @@
     {
         factor = 1;
     }
+ if(x < 0)
+ {
+ factor *= (n & 0x1) ? -1 : 1; // J_{n}(-z) = (-1)^n J_n(z)
+ x = -x;
+ }
     //
     // Special cases:
     //

Modified: trunk/boost/math/special_functions/gamma.hpp
==============================================================================
--- trunk/boost/math/special_functions/gamma.hpp (original)
+++ trunk/boost/math/special_functions/gamma.hpp 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -855,7 +855,7 @@
    BOOST_ASSERT((p_derivative == 0) || (normalised == true));
 
    bool is_int, is_half_int;
- bool is_small_a = (a < 30) && (a <= x + 1);
+ bool is_small_a = (a < 30) && (a <= x + 1) && (x < tools::log_max_value<T>());
    if(is_small_a)
    {
       T fa = floor(a);

Modified: trunk/libs/math/doc/sf_and_dist/factorials.qbk
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/factorials.qbk (original)
+++ trunk/libs/math/doc/sf_and_dist/factorials.qbk 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -163,6 +163,8 @@
 ``
 ]
 
+[note The argument to `double_factorial` is type `unsigned` even though technically -1!! is defined.]
+
 [h4 Accuracy]
 
 The implementation uses a trivial adaptation of

Modified: trunk/libs/math/doc/sf_and_dist/float_next.qbk
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/float_next.qbk (original)
+++ trunk/libs/math/doc/sf_and_dist/float_next.qbk 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -156,8 +156,8 @@
 Note that
 
 * `float_distance(a, a)` always returns 0.
-* `float_distance(float_next(a), a)` always returns 1.
-* `float_distance(float_prior(a), a)` always returns -1.
+* `float_distance(float_next(a), a)` always returns -1.
+* `float_distance(float_prior(a), a)` always returns 1.
 
 The function `float_distance` is equivalent to calculating the number
 of ULP (Units in the Last Place) between /a/ and /b/ except that it

Modified: trunk/libs/math/doc/sf_and_dist/html/index.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/index.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/index.html 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -580,7 +580,7 @@
   </p>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: November 29, 2012 at 13:20:41 GMT</small></p></td>
+<td align="left"><p><small>Last revised: November 29, 2012 at 17:59:19 GMT</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></table>
 <hr>

Modified: trunk/libs/math/doc/sf_and_dist/html/index/s13.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/index/s13.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/index/s13.html 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -22,9 +22,9 @@
 <div class="spirit-nav">
 <a accesskey="p" href="../math_toolkit/status/credits.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="s14.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
 </div>
-<div class="section id1324625">
+<div class="section id1332911">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="id1324625"></a>Function Index</h2></div></div></div>
+<a name="id1332911"></a>Function Index</h2></div></div></div>
 <p><a class="link" href="s13.html#idx_id_0">A</a> <a class="link" href="s13.html#idx_id_1">B</a> <a class="link" href="s13.html#idx_id_2">C</a> <a class="link" href="s13.html#idx_id_3">D</a> <a class="link" href="s13.html#idx_id_4">E</a> <a class="link" href="s13.html#idx_id_5">F</a> <a class="link" href="s13.html#idx_id_6">G</a> <a class="link" href="s13.html#idx_id_7">H</a> <a class="link" href="s13.html#idx_id_8">I</a> <a class="link" href="s13.html#idx_id_9">J</a> <a class="link" href="s13.html#idx_id_10">K</a> <a class="link" href="s13.html#idx_id_11">L</a> <a class="link" href="s13.html#idx_id_12">M</a> <a class="link" href="s13.html#idx_id_13">N</a> <a class="link" href="s13.html#idx_id_14">O</a> <a class="link" href="s13.html#idx_id_15">P</a> <a class="link" href="s13.html#idx_id_16">Q</a> <a class="link" href="s13.html#idx_id_17">R</a> <a class="link" href="s13.html#idx_id_18">S</a> <a class="link" href="s13.html#idx_id_19">T</a> <a class="link" href="s13.html#idx_id_20">U</a> <a class="link" href=
"s13.html#idx_id_21">V</a> <a class="link" href="s13.html#idx_id_22">W</a> <a class="link" href="s13.html#idx_id_23">Z</a></p>
 <div class="variablelist"><dl class="variablelist">
 <dt>

Modified: trunk/libs/math/doc/sf_and_dist/html/index/s14.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/index/s14.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/index/s14.html 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -22,9 +22,9 @@
 <div class="spirit-nav">
 <a accesskey="p" href="s13.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="s15.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
 </div>
-<div class="section id1342850">
+<div class="section id1350453">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="id1342850"></a>Class Index</h2></div></div></div>
+<a name="id1350453"></a>Class Index</h2></div></div></div>
 <p><a class="link" href="s14.html#idx_id_25">B</a> <a class="link" href="s14.html#idx_id_26">C</a> <a class="link" href="s14.html#idx_id_27">D</a> <a class="link" href="s14.html#idx_id_28">E</a> <a class="link" href="s14.html#idx_id_29">F</a> <a class="link" href="s14.html#idx_id_30">G</a> <a class="link" href="s14.html#idx_id_31">H</a> <a class="link" href="s14.html#idx_id_32">I</a> <a class="link" href="s14.html#idx_id_35">L</a> <a class="link" href="s14.html#idx_id_36">M</a> <a class="link" href="s14.html#idx_id_37">N</a> <a class="link" href="s14.html#idx_id_39">P</a> <a class="link" href="s14.html#idx_id_41">R</a> <a class="link" href="s14.html#idx_id_42">S</a> <a class="link" href="s14.html#idx_id_43">T</a> <a class="link" href="s14.html#idx_id_44">U</a> <a class="link" href="s14.html#idx_id_46">W</a></p>
 <div class="variablelist"><dl class="variablelist">
 <dt>

Modified: trunk/libs/math/doc/sf_and_dist/html/index/s15.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/index/s15.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/index/s15.html 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -22,9 +22,9 @@
 <div class="spirit-nav">
 <a accesskey="p" href="s14.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="s16.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
 </div>
-<div class="section id1343791">
+<div class="section id1351394">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="id1343791"></a>Typedef Index</h2></div></div></div>
+<a name="id1351394"></a>Typedef Index</h2></div></div></div>
 <p><a class="link" href="s15.html#idx_id_48">A</a> <a class="link" href="s15.html#idx_id_49">B</a> <a class="link" href="s15.html#idx_id_50">C</a> <a class="link" href="s15.html#idx_id_51">D</a> <a class="link" href="s15.html#idx_id_52">E</a> <a class="link" href="s15.html#idx_id_53">F</a> <a class="link" href="s15.html#idx_id_54">G</a> <a class="link" href="s15.html#idx_id_55">H</a> <a class="link" href="s15.html#idx_id_56">I</a> <a class="link" href="s15.html#idx_id_59">L</a> <a class="link" href="s15.html#idx_id_61">N</a> <a class="link" href="s15.html#idx_id_62">O</a> <a class="link" href="s15.html#idx_id_63">P</a> <a class="link" href="s15.html#idx_id_65">R</a> <a class="link" href="s15.html#idx_id_66">S</a> <a class="link" href="s15.html#idx_id_67">T</a> <a class="link" href="s15.html#idx_id_68">U</a> <a class="link" href="s15.html#idx_id_69">V</a> <a class="link" href="s15.html#idx_id_70">W</a></p>
 <div class="variablelist"><dl class="variablelist">
 <dt>

Modified: trunk/libs/math/doc/sf_and_dist/html/index/s16.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/index/s16.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/index/s16.html 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -22,9 +22,9 @@
 <div class="spirit-nav">
 <a accesskey="p" href="s15.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="s17.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
 </div>
-<div class="section id1345608">
+<div class="section id1353894">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="id1345608"></a>Macro Index</h2></div></div></div>
+<a name="id1353894"></a>Macro Index</h2></div></div></div>
 <p><a class="link" href="s16.html#idx_id_73">B</a> <a class="link" href="s16.html#idx_id_77">F</a></p>
 <div class="variablelist"><dl class="variablelist">
 <dt>

Modified: trunk/libs/math/doc/sf_and_dist/html/index/s17.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/index/s17.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/index/s17.html 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -21,9 +21,9 @@
 <div class="spirit-nav">
 <a accesskey="p" href="s16.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a>
 </div>
-<div class="section id855785">
+<div class="section id863505">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="id855785"></a>Index</h2></div></div></div>
+<a name="id863505"></a>Index</h2></div></div></div>
 <p><a class="link" href="s17.html#idx_id_96">A</a> <a class="link" href="s17.html#idx_id_97">B</a> <a class="link" href="s17.html#idx_id_98">C</a> <a class="link" href="s17.html#idx_id_99">D</a> <a class="link" href="s17.html#idx_id_100">E</a> <a class="link" href="s17.html#idx_id_101">F</a> <a class="link" href="s17.html#idx_id_102">G</a> <a class="link" href="s17.html#idx_id_103">H</a> <a class="link" href="s17.html#idx_id_104">I</a> <a class="link" href="s17.html#idx_id_105">J</a> <a class="link" href="s17.html#idx_id_106">K</a> <a class="link" href="s17.html#idx_id_107">L</a> <a class="link" href="s17.html#idx_id_108">M</a> <a class="link" href="s17.html#idx_id_109">N</a> <a class="link" href="s17.html#idx_id_110">O</a> <a class="link" href="s17.html#idx_id_111">P</a> <a class="link" href="s17.html#idx_id_112">Q</a> <a class="link" href="s17.html#idx_id_113">R</a> <a class="link" href="s17.html#idx_id_114">S</a> <a class="link" href="s17.html#idx_id_115">T</a> <a class="link" href="s17.html#idx_id_116">
U</a> <a class="link" href="s17.html#idx_id_117">V</a> <a class="link" href="s17.html#idx_id_118">W</a> <a class="link" href="s17.html#idx_id_119">Z</a></p>
 <div class="variablelist"><dl class="variablelist">
 <dt>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/conventions.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/conventions.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/conventions.html 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -27,7 +27,7 @@
 <a name="math_toolkit.main_overview.conventions"></a><a class="link" href="conventions.html" title="Document Conventions">Document Conventions</a>
 </h3></div></div></div>
 <p>
- <a class="indexterm" name="id848787"></a>
+ <a class="indexterm" name="id856433"></a>
       </p>
 <p>
         This documentation aims to use of the following naming and formatting conventions.

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/history1.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/history1.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/history1.html 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -45,7 +45,8 @@
             <a href="https://svn.boost.org/trac/boost/ticket/7183" target="_top">#7183</a>,
             <a href="https://svn.boost.org/trac/boost/ticket/7649" target="_top">#7649</a>,
             <a href="https://svn.boost.org/trac/boost/ticket/7694" target="_top">#7694</a>,
- #4445.
+ #4445,
+ #7492.
           </li>
 <li class="listitem">
             Fixed mistake in calculating pooled standard deviation in two-sample
@@ -55,6 +56,11 @@
             Improve complex acos/asin/atan, see #7290,
             <a href="https://svn.boost.org/trac/boost/ticket/7291" target="_top">#7291</a>.
           </li>
+<li class="listitem">
+ Improve accuracy in some corner cases of <a class="link" href="../special/bessel/bessel.html" title="Bessel Functions of the First and Second Kinds">cyl_bessel_j</a>
+ and <a class="link" href="../special/sf_gamma/igamma.html" title="Incomplete Gamma Functions">gamma_p</a>/<a class="link" href="../special/sf_gamma/igamma.html" title="Incomplete Gamma Functions">gamma_q</a> thanks
+ to suggestions from Rocco Romeo.
+ </li>
 </ul></div>
 <h5>
 <a name="math_toolkit.main_overview.history1.h1"></a>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/navigation.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/navigation.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/navigation.html 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -27,7 +27,7 @@
 <a name="math_toolkit.main_overview.navigation"></a><a class="link" href="navigation.html" title="Navigation">Navigation</a>
 </h3></div></div></div>
 <p>
- <a class="indexterm" name="id848657"></a>
+ <a class="indexterm" name="id856303"></a>
       </p>
 <p>
         Boost.Math documentation is provided in both HTML and PDF formats.

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_double_factorial.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_double_factorial.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_double_factorial.html 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -103,6 +103,17 @@
           </p>
 </td></tr>
 </table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ The argument to <code class="computeroutput"><span class="identifier">double_factorial</span></code>
+ is type <code class="computeroutput"><span class="keyword">unsigned</span></code> even though
+ technically -1!! is defined.
+ </p></td></tr>
+</table></div>
 <h5>
 <a name="math_toolkit.special.factorials.sf_double_factorial.h0"></a>
           <span class="phrase"><a name="math_toolkit.special.factorials.sf_double_factorial.accuracy"></a></span><a class="link" href="sf_double_factorial.html#math_toolkit.special.factorials.sf_double_factorial.accuracy">Accuracy</a>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/history1.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/history1.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/history1.html 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -44,7 +44,8 @@
             <a href="https://svn.boost.org/trac/boost/ticket/7183" target="_top">#7183</a>,
             <a href="https://svn.boost.org/trac/boost/ticket/7649" target="_top">#7649</a>,
             <a href="https://svn.boost.org/trac/boost/ticket/7694" target="_top">#7694</a>,
- #4445.
+ #4445,
+ #7492.
           </li>
 <li class="listitem">
             Fixed mistake in calculating pooled standard deviation in two-sample
@@ -54,6 +55,11 @@
             Improve complex acos/asin/atan, see #7290,
             <a href="https://svn.boost.org/trac/boost/ticket/7291" target="_top">#7291</a>.
           </li>
+<li class="listitem">
+ Improve accuracy in some corner cases of <a class="link" href="../special/bessel/bessel.html" title="Bessel Functions of the First and Second Kinds">cyl_bessel_j</a>
+ and <a class="link" href="../special/sf_gamma/igamma.html" title="Incomplete Gamma Functions">gamma_p</a>/<a class="link" href="../special/sf_gamma/igamma.html" title="Incomplete Gamma Functions">gamma_q</a> thanks
+ to suggestions from Rocco Romeo.
+ </li>
 </ul></div>
 <h5>
 <a name="math_toolkit.status.history1.h1"></a>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_distance.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_distance.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_distance.html 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -71,11 +71,11 @@
             </li>
 <li class="listitem">
               <code class="computeroutput"><span class="identifier">float_distance</span><span class="special">(</span><span class="identifier">float_next</span><span class="special">(</span><span class="identifier">a</span><span class="special">),</span> <span class="identifier">a</span><span class="special">)</span></code>
- always returns 1.
+ always returns -1.
             </li>
 <li class="listitem">
               <code class="computeroutput"><span class="identifier">float_distance</span><span class="special">(</span><span class="identifier">float_prior</span><span class="special">(</span><span class="identifier">a</span><span class="special">),</span> <span class="identifier">a</span><span class="special">)</span></code>
- always returns -1.
+ always returns 1.
             </li>
 </ul></div>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/roadmap.qbk
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/roadmap.qbk (original)
+++ trunk/libs/math/doc/sf_and_dist/roadmap.qbk 2012-11-29 13:55:20 EST (Thu, 29 Nov 2012)
@@ -11,11 +11,12 @@
 * Fixed issues [@https://svn.boost.org/trac/boost/ticket/7325 #7325], [@https://svn.boost.org/trac/boost/ticket/7415 #7415]
 and [@https://svn.boost.org/trac/boost/ticket/7416 #7416], [@https://svn.boost.org/trac/boost/ticket/7183 #7183],
 [@https://svn.boost.org/trac/boost/ticket/7649 #7649], [@https://svn.boost.org/trac/boost/ticket/7694 #7694],
-[@https://svn.boost.org/trac/boost/ticket/4445 #4445].
+[@https://svn.boost.org/trac/boost/ticket/4445 #4445], [@https://svn.boost.org/trac/boost/ticket/7492 #7492].
 * Fixed mistake in calculating pooled standard deviation in two-sample students t example
 [@https://svn.boost.org/trac/boost/ticket/7402 #7402].
 * Improve complex acos/asin/atan, see [@https://svn.boost.org/trac/boost/ticket/7290 #7290],
 [@https://svn.boost.org/trac/boost/ticket/7291 #7291].
+* Improve accuracy in some corner cases of __cyl_bessel_j and __gamma_p/__gamma_q thanks to suggestions from Rocco Romeo.
 
 [h4 Boost-1.52]
 


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