![]() |
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-02-16 22:19:32
"Dave Steffen" <dgsteffen_at_[hidden]> wrote in message
news:17877.60853.224689.969078_at_yttrium.numerica.us...
> > To put things another way: how many people do you expect to
> > thinking in terms of persentage differences between floating point
> > numbers? I'm afraid we (mostly) all think in terms of epsilon
> > units, and once in that mind set, converting to persentages just
> > doesn't come naturally.
>
> Right. At least, that's true of people like me who do mathematical
> stuff. Maybe there are vast herds of C++ programmers out there who
> think in terms of percentage tolerance, though.
> I'm not saying it
> was necessarily a bad design problem. It's a (mildly) bad design for
> what _I_ want, but then, I'm wrapping the whole unit test library up
> in my own interface anyway. :-)
What particularly you are missing/don't like in current interface presented
by Boost.Test (other than FP comparison tools interface)?
Gennadiy
Boost 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