FastLED 3.10.8
Loading...
Searching...
No Matches

◆ assume_aligned() [1/2]

template<fl::size_t N, typename T>
const T * fl::fl::assume_aligned ( const T * ptr)
inline

Definition at line 142 of file s16x16x4.h.

142 {
143 s16x16x4 sin_out, cos_out;
144 sincos(sin_out, cos_out);
145 return cos_out;
146 }
147};
148
149// Include simd_ops.h to implement cross-type operations
150// Must come after all types are defined
151#include "fl/math/fixed_point/simd_ops.h" // allow-include-after-namespace
152
153} // namespace fl
enable_if< is_fixed_point< T >::value, void >::type sincos(T angle, T &out_sin, T &out_cos) FL_NO_EXCEPT
Cross-type SIMD fixed-point operations (implemented after all types are defined)
4-wide s16x16 vector (general fixed-point) Backed by 128-bit SIMD register (4× i32 in Q16 format)
Definition s16x16x4.h:23