Search results for: Square Root
vec_rsqrte()
Purpose: Returns a vector containing estimates of the reciprocal square roots of the corresponding elements of the source vector.
Result value: Each element of output contains the estimated value of the reciprocal square root of the corresponding element of a.
Endian considerations: None.
Notes: For finite square roots, this intrinsic guarantees at least 14 bits of accuracy.
vector double output = vec_rsqrte(vector double a);
vec_sqrt()
Purpose: Returns a vector containing the square root of each element in the source vector.
Result value: Each element of output is the square root of the corresponding element of a.
Endian considerations: None.
vector float output = vec_sqrt(vector float a);
vec_rsqrt()
Purpose: Returns a vector containing a refined approximation of the reciprocal square roots of the corresponding elements of the source vector. This function provides an implementation-dependent greater precision than vec_rsqrte.
Result value: Each element of output contains a refined approximation of the reciprocal square root of the corresponding element of a.
Endian considerations: None.
Notes:
-
The example implementations assume that a register h initially contains the floating-point value 0.5 in each element (single- or double-precision as appropriate).
-
For finite square roots, this intrinsic guarantees at least 23 bits of accuracy for single-precision floating point, and at least 52 bits of accuracy for double-precision floating point.
vector float output = vec_rsqrt(vector float a);
DB statistics
SIMD Engines: | 5 |
C Intrinsics: | 10702 |
NEON: | 4232 |
AVX2: | 462 |
AVX512: | 4955 |
SSE4.2: | 652 |
VSX: | 401 |
Recent Updates
July 2025- Intrinsics Organization: Ongoing restructuring of uncategorized intrinsics for improved accessibility
- Enhanced Filtering: New advanced filters added to the intrinsics tree for more precise results
- Search Validation: Improved empty search handling with better user feedback
- Changelog Display: Recent changes now visible to users for better transparency
- New Blog Post: "Best Practices & API Integration" guide added to the blogs section
- Dark Theme: Added support for dark theme for improved accessibility and user experience