Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Test] Understanding the correct use of BOOST_CHECK_CLOSE and BOOST_CHECK_CLOSE_FRACTION
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2010-09-09 20:30:19


Steven Watanabe <watanabesj <at> gmail.com> writes:

> Nowhere. 1e-12 cannot be represented exactly in floating point.
> It gets rounded to the nearest representable value which is
> printed as 9.9999999999999998e-13

This is solvable problem, but I never got to finish implementation of proper
print algorithm (any takers?). These days I am very busy at work, so I wouldn't
expect this to resolve by itself any time soon ;)

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net