DMD 1.019 and 2.003 releases

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Mon Jul 23 11:35:21 PDT 2007


Don Clugston wrote:
> Walter Bright wrote:
>> Don Clugston wrote:
>>> I'm having trouble understanding the difference between "isScalar", 
>>> "isArithmetic", and "isIntegral". Is this table correct?
>>>
>>> int uint real wchar
>>> Y   Y    Y    N     isArithmetic
>>> N   N    Y    N     isFloating
>>> Y   Y    N    Y     isIntegral
>>> Y   Y    Y    Y     isScalar
>>> N   Y    N    N     isUnsigned
>>>
>>> ----------------
>>
>> wchar is arithmetic and unsigned.
> 
> OK. Then is there any difference between scalar and arithmetic ?

I haven't checked DMDs handling of this, but if I understand the terms 
correctly then the difference should be in the handling of complex types 
(cfloat & friends) which should be arithmetic types but not scalar ones.



More information about the Digitalmars-d-announce mailing list