primitive vector types

bearophile bearophileHUGS at lycos.com
Sat Feb 21 06:51:10 PST 2009


Michel Fortin:
> Instead of introducing new a new type, couldn't float[4] be the one 
> mapped to a vector type? Why do we need a new type?

Alignment requirements, shuffling operations, scalar operations on just the first item of the vector, ecc. It may be doable, and it may be even a nice idea, but probably it requires lot of care.

Bye,
bearophile



More information about the Digitalmars-d mailing list