|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
N lanes of T in one SIMD register. Defined only for the (T, N) pairs the compiler's flags provide (see NativeWidth()), and never in a device pass. More...
N lanes of T in one SIMD register. Defined only for the (T, N) pairs the compiler's flags provide (see NativeWidth()), and never in a device pass.
Each specialization holds the register and provides construction from one value (broadcast), load() from and store() to memory aligned to the register size, the four arithmetic operators, and the comparisons <, > and >=, which give a mask. select(), both(), sqrt() and abs() are free functions, as for the scalar types. Every comparison is ordered: it is false where either side is NaN, as the scalar comparison is.
| T | Floating-point type. |
| N | Lane count. |