Skip to content

Commit 9c8c768

Browse files
committed
Apply David's suggestions
1 parent c2e4178 commit 9c8c768

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

‎wgsl/index.bs‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -538,16 +538,14 @@ literal_or_ident
538538
<tr><td><dfn noexport dfn-for="attribute">`precise_math`</dfn>
539539
<td>*None*
540540

541-
Indicates that the arithmetic computations in the function need to be performed with
542-
extra precision. As such, the WebGPU implementation would attempt to avoid optimizations
543-
based on [[#floating-point-evaluation]] assumptions.
544-
545-
In addition, no operand re-ordering is done based on associative and distributive properties
546-
of the operations.
541+
Indicates that the arithmetic computations in the function should be performed
542+
under stricter [[#floating-point-evaluation]]:
543+
* without [=Reassociation|reassociating=] subexpressions
544+
* while preserving infinities, NaNs, and signed zeroes
547545

548546
The exact nature of the reduced optimizations is platform-dependent.
549547

550-
This attribute doesn't recursively affect other functions called from the current functions.
548+
This attribute doesn't recursively affect other functions called from the current function.
551549

552550
</table>
553551

0 commit comments

Comments
 (0)