Fix typo: duplicated 'for' in docs

This commit is contained in:
Kuan-Ting 2025-07-14 14:18:00 +08:00 committed by Charles Schlosser
parent 302fc46bc3
commit cedf1f4c17
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ namespace internal {
2. If a is zero, approx_a_recip must be infinite with the same sign as a. 2. If a is zero, approx_a_recip must be infinite with the same sign as a.
3. If a is infinite, approx_a_recip must be zero with the same sign as a. 3. If a is infinite, approx_a_recip must be zero with the same sign as a.
If the preconditions are satisfied, which they are for for the _*_rcp_ps If the preconditions are satisfied, which they are for the _*_rcp_ps
instructions on x86, the result has a maximum relative error of 2 ulps, instructions on x86, the result has a maximum relative error of 2 ulps,
and correctly handles reciprocals of zero, infinity, and NaN. and correctly handles reciprocals of zero, infinity, and NaN.
*/ */
@ -66,7 +66,7 @@ struct generic_reciprocal_newton_step<Packet, 0> {
2. If a is zero, approx_a_recip must be infinite with the same sign as a. 2. If a is zero, approx_a_recip must be infinite with the same sign as a.
3. If a is infinite, approx_a_recip must be zero with the same sign as a. 3. If a is infinite, approx_a_recip must be zero with the same sign as a.
If the preconditions are satisfied, which they are for for the _*_rcp_ps If the preconditions are satisfied, which they are for the _*_rcp_ps
instructions on x86, the result has a maximum relative error of 2 ulps, instructions on x86, the result has a maximum relative error of 2 ulps,
and correctly handles zero, infinity, and NaN. Positive denormals are and correctly handles zero, infinity, and NaN. Positive denormals are
treated as zero. treated as zero.
@ -116,7 +116,7 @@ struct generic_rsqrt_newton_step<Packet, 0> {
2. If a is zero, approx_rsqrt must be infinite. 2. If a is zero, approx_rsqrt must be infinite.
3. If a is infinite, approx_rsqrt must be zero. 3. If a is infinite, approx_rsqrt must be zero.
If the preconditions are satisfied, which they are for for the _*_rsqrt_ps If the preconditions are satisfied, which they are for the _*_rsqrt_ps
instructions on x86, the result has a maximum relative error of 2 ulps, instructions on x86, the result has a maximum relative error of 2 ulps,
and correctly handles zero and infinity, and NaN. Positive denormal inputs and correctly handles zero and infinity, and NaN. Positive denormal inputs
are treated as zero. are treated as zero.

View File

@ -449,7 +449,7 @@ conj(array1)
</td></tr> </td></tr>
</table> </table>
Some coefficient-wise operators are readily available for for matrices and vectors through the following cwise* methods: Some coefficient-wise operators are readily available for matrices and vectors through the following cwise* methods:
<table class="manual"> <table class="manual">
<tr><th>Matrix API \matrixworld</th><th>Via Array conversions</th></tr> <tr><th>Matrix API \matrixworld</th><th>Via Array conversions</th></tr>
<tr><td>\code <tr><td>\code