[std-interval] Comments on the Interval Standard Proposal
Sylvain Pion
Sylvain.Pion at sophia.inria.fr
Sun Oct 1 02:08:50 PDT 2006
Gabriel Dos Reis a écrit :
> | For implementations which do not support infinity, how do you check if
> | an interval is bounded ? Currently we can't.
>
> Hmm, I'm unclear about this one. If the implementation does not
> support infinity, does not it follow all intervals are bounded?
I was thinking that implementations could store extra data members
specifying if a bound is infinite. You can't return it through
.lower(), because the floating-point type does not have a value
for infinity, but is_positively_bounded() can return the
information.
--
Sylvain
More information about the Std-interval
mailing list