|
Boost : |
Subject: Re: [boost] Is floating_point_comparison.hpp general purpose tool?
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2010-01-07 11:20:34
> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] On
Behalf Of
> Mateusz Loskot
> Sent: Tuesday, January 05, 2010 12:45 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] Is floating_point_comparison.hpp general purpose tool?
>
> >> Paul A. Bristow wrote:
> >>> I have, for my own purposes, refactored Gennidy's Boost.Test code -
attached
> > -
> >>> with a demo.
> >> I'd rather have single copy of these inside boost tree. Also If we move
> >> these under math utils hood, I'd rather keep the same name and
> >> functionality.
> >
> > I'm sure you would ;-)
> >
> > But do others feel a need for enhancements that I hope I have provided?
>
> Your header works for me very well.
I'm sure my draft needs much further work but while the Boost.Test FP comparison
is functional for testing,
IMO it does not work nicely enough (nor documented well enough) for general use
in Boost.Math and remains a TODO.
Paul
--- Paul A. Bristow Prizet Farmhouse Kendal, UK LA8 8AB +44 1539 561830, mobile +44 7714330204 pbristow_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk