En réponse à "David A. Greene"
Hi,
I've been attempting to use the interval library on a MIPS/IRIX machine without luck. The problem is that there is no native rounding support and we don't have a C99 environment. I'm getting "Please specify rounding control mechanism" errors from the preprocessor.
The thing is, I don't need a rounding mode. I simply want to use intervals of type int. I could understand the error if I was trying to use floating-point intervals but shouldn't I be able to specify intervals that don't require rounding? Or even specify intervals with a policy that ignores rounding?
Has anyone run into this problem before? Is there a workaround?
-Dave
The header "numeric/interval.hpp" is meant to include almost all the other
public headers of the library, and in particular the ones responsible for
floating-point support. To avoid this problem, just use the other headers (all
the headers are public except the ones in the "detail" subdirectory).
For example, instead of using:
#include