MCPcopy Create free account
hub / github.com/VCVRack/Rack / cast

Method cast

include/simd/Vector.hpp:163–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163inline Vector<float, 4> Vector<float, 4>::cast(Vector<int32_t, 4> a) {
164 return Vector(_mm_castsi128_ps(a.v));
165}
166
167inline Vector<int32_t, 4> Vector<int32_t, 4>::cast(Vector<float, 4> a) {
168 return Vector(_mm_castps_si128(a.v));

Callers

nothing calls this directly

Calls 1

VectorClass · 0.85

Tested by

no test coverage detected