Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 438 Bytes

fix10445.md

File metadata and controls

15 lines (10 loc) · 438 Bytes

Add .min, .max, etc. properties for vector types.

For integral vector types, add the .min and .max properties.

For floating point vector types, add the .min, .max, .min_normal, .nan, .infinity, and .epsilon properties.

The value of those properties is the value corresponsing to the vector element type broadcast to the vector type. I.e.:


import core.simd;

static assert(float4.max == cast(float4)float.max);