|
Boost : |
From: Paul A. Bristow (boost_at_[hidden])
Date: 2002-10-24 11:02:05
> > I'd rather use a 'type + (optional) modifier' postfix scheme:
> >
> > type:
> > f=floating point
> > i=integral
> >
> > modifiers:
> > s=short
> > l=long
> > u=unsigned
> >
> > pi_fs (float)
> > pi_f (double)
> > pi_fl (long double)
> > pi_i (int)
> > pi_il (long int)
> > pi_iu (unsigned int)
>
> If you already have 'pi_i', there is no need for 'pi_iu', is it?
>
> Regards,
>
> Guillaume
Should I be surprised that you seem to be suggesting that the Interval Library
would not handle unsigned integers?
Purely an aside - all the math constants we have discussed are floating point -
and also I'm unsure of the practical usefulness of integer intervals of pi!
Apart from the story, probably an apocraphal lawyer joke, of the US state that
tried to legislate pi to be plain simple 3 :-)
Paul
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk