Boost logo

Boost :

Subject: Re: [boost] Boost.Math and Math Constants
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-12-08 05:21:36


>> On Wed, Dec 07, 2011 at 09:03:26PM +0000, Christopher Kormanyos wrote:
>> > billion
>> > trillion
>>
>> Those are a horrible idea to attempt to define, as their meaning is
>> ambigious - see http://en.wikipedia.org/wiki/Long_and_short_scales
>
>
> How about simply
> _1
> _10
> _100
> ...
> then? *if* it's deemed desirable to have such constants in the first
> place. I.e., in what instances are the corresponding literals
> insufficient?

We decided not to add constants that were simple integers, if there's a good
use case we could certainly add them though.

John.


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