mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Additions and 64-bit fixes for FloatVectorOperations.
This commit is contained in:
parent
14b0493bb0
commit
6033581511
3 changed files with 34 additions and 12 deletions
|
|
@ -29,6 +29,8 @@
|
|||
|
||||
//==============================================================================
|
||||
/**
|
||||
A collection of simple vector operations on arrays of floats, accelerated with
|
||||
SIMD instructions where possible.
|
||||
*/
|
||||
class JUCE_API FloatVectorOperations
|
||||
{
|
||||
|
|
@ -37,6 +39,9 @@ public:
|
|||
/** Clears a vector of floats. */
|
||||
static void clear (float* dest, int numValues) noexcept;
|
||||
|
||||
/** Copies a repeated value into a vector of floats. */
|
||||
static void fill (float* dest, float valueToFill, int numValues) noexcept;
|
||||
|
||||
/** Copies a vector of floats. */
|
||||
static void copy (float* dest, const float* src, int numValues) noexcept;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue