Module arithmetic

Module arithmetic 

Source
Expand description

§Arithmetic Kernels Module - High-Performance Arithmetic

SIMD-optimised arithmetic operations for numeric arrays with null-aware semantics.

§Modules

  • dispatch: Smart dispatch layer selecting SIMD vs scalar implementations based on alignment
  • simd: SIMD-accelerated implementations using std::simd with portable vectorisation
  • std: Scalar fallback implementations for compatibility and unaligned data
  • string: Specialised arithmetic operations for string concatenation and manipulation

§Operations

Supports standard arithmetic operations (add, subtract, multiply, divide, remainder, power) plus fused multiply-add (FMA) for floating-point types with hardware acceleration.

§Scope

These do not leverage parallel-thread processing, as this is expected to be applied in the engine layer, which is app-specific..

Modules§

dispatch
Arithmetic Dispatch Module - SIMD/Scalar Dispatch Layer for Arithmetic Operations
simd
SIMD Arithmetic Kernels Module - High-Performance Arithmetic
std
Standard Arithmetic Kernels Module - Scalar Fallback / Non-SIMD Implementations
string
String Arithmetic Module - String Operations with Numeric Interactions