unit type for addition to std lib [was Re: D Language 2.0]

BCS none at anon.com
Thu Jan 28 23:37:22 PST 2010


Hello SiegeLord,

> BCS Wrote:
> 
>>> Also all of the imperial units that I don't care about, as well as
>>> the more obscure physical units.
>>> 
>> My lib has every SI unit I could fine and all the units I found that
>> I recognised. The current vertion can have a new unit added as a
>> single line of code.
>> 
> SI has 7 base units, your library has only 5 of them. You are missing
> luminosity (candellas) and amounts (moles).
> 

Because you complained I added the other two, but because I think they are 
silly I make it so you can switch them on and off (they are placed under 
a "version(FullSI)").


--

<IXOYE><





More information about the Digitalmars-d mailing list