
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of François Mauger Sent: Friday, March 25, 2011 4:37 PM To: boost-users@lists.boost.org Subject: [Boost-users] [Floating Point Utilities] where is the "nonfinite_num_facets.hpp"
Hi
As far as I understood, the Floating Point Utilities vault contribution by Johan R°ade has been integrated in the Boost official release. I've been using the "nonfinite_num_facets.hpp" header file for a few years within old Boost versions, directly extracted from the vault ZIP file released by Johan.
Now, I can use the "fpclassify.hpp" file directly from the "boost/spirit/home/support/detail/math/" directory. Unfortunately I cannot find the "nonfinite_num_facets.hpp" file.
Where can I find the "nonfinite_num_put/get" template class in say Boost 1.44 ? Maybe it has not been renamed in some other file or even not accepted at all... It is very useful for making my text and xml archives portable with NaNs and infinity support.
In the absence of a reply from someone more knowledgeable ;-) Johan's floating point utilities were reviewed and accepted http://boost.2283326.n4.nabble.com/Floating-Point-Utilities-Review-Result-td 2643080.html and the floating_point_utilities_v3.zip is still in the vault at http://www.boostpro.com/vault/index.php?&direction=0&order=&directory=Math%2 0-%20Numerics The nonfinite_num_facets.hpp file remains at https://svn.boost.org/svn/boost/sandbox/SCons/boost/spirit/home/support/deta il/math/nonfinite_num_facets.hpp but the fpclassify.hpp 'official' release is now at \boost\math\special_functions\fpclassify.hpp Perhaps it was just lack of time that meant it was not integrated into Boost.Math from Johan's release? Or should it go elsewhere (hidden in a Spirit detail doesn't sound ideal) Or is there some more sinister difficulty? That you have used it successfully, suggests not. And it sounds very useful, and others are using it too. There are some plausible tests in the vault zip, and of course there are other tests at \boost-trunk\libs\math\test\test_classify.cpp (but none for nonfinite_num_facets) and some vault docs at nonfinite_num_facets.htm (though not in Quickbook format, as used for the rest of Boost.Math) and a few rather skeletal examples (but no actual runnable example files)? Since you obviously know a lot about it, perhaps you'd like to contribute some simpler, more and fuller examples? If you can draft something out, I'm sure someone can assist getting it into final shape. Would it be sensible to move the vault facet files to sandbox, perhaps to a folder fp_facets, so collaborative working is possible? Perhaps with a view to moving into Boost.Math? Paul --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com