Boost logo

Boost :

From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2007-10-28 10:31:02


John,

> > I'll look into this later tonight.
>
> Thanks Harmut: if you need a simple user-defined number type
> to experiment with then try
> boost::math::concepts::real_concept in
> boost/math/concepts/real_concept.hpp.

Ok, I tried that and fixed the pow() issue first (it's in SVN now). After
this change the code compiled, but as you pointed out the actual parsing
fails. The reason is that
std::numeric_limits<boost::math::concepts::real_concept>::max() always
returns zero, which triggers the overflow detection in the spirit
real_parser, making the overall parse fail.

I didn't investigate the numeric_limits::max issue, though.
Do you have any ideas?

Regards Hartmut


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk