Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2008-01-27 07:29:30


Pete Bartlett wrote:
> I believe the Math Toolkit will be in Boost 1.35

Correct.

> I believe Johan's implementation is even more portable and robust than
> John's, but perhaps less far through the review process:

Well, I'm biased :-) But I'd characterise it like this: the version that
will be in Boost-1.35 uses only portable C++ code, and will forward to the
platforms native version if there is one. It's also been tested on all the
platforms we regression test on, and the only failure I know of turned out
to be a bug in numeric_limits (confirmed by IBM). On the other hand,
Johan's implementation peeks at the bits of the value to determine it's
type, which is *much* faster for native floating point types, but *maybe*
less portable for some platforms, and doesn't scale to user defined floating
point types. Hopefully we'll end up with a combination of the best bits of
the two versions in the end - and Johan's code review is coming up at the
end of Feb if you're interested BTW.

HTH, John.


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