We need to clarify if 'real' is the 'default floating point type' or not.

Ameer Armaly ameer.armaly at furman.edu
Tue Mar 4 06:05:58 PST 2008


"renoX" <renosky at free.fr> wrote in message 
news:fqj8i1$1m01$1 at digitalmars.com...
> Ameer Armaly Wrote:
>> Maybe we just ought to make int
>> whatever type is fastest, and call the current int something different,
>> maybe dword?
>
> So int would mean 8 bit integers?
> I'm joking but for some operation 8 bit int *are* 'fastest' than 32 bit 
> int, because they use less cache, memory..
>
> Anything else that intX, uintX is necessarily arbitrary (and even intX is 
> not that simple: some DSP have 24bit integers..), so I'm not sure that 
> it's quite useful to spend too much time on that topic.
>
I don't know why I didn't think of this earlier: auto. If you want optimal 
int types, isn't that part of the  rationale behind type inference?
> renoX
>
> 





More information about the Digitalmars-d mailing list