mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
Update simd.md
上面代码中,`Uint16`的最小值是`0`,`subSaturate`的最小值是`-32678`。一旦运算发生溢出,就返回最小值。 修改为 上面代码中,`Uint16`的最小值是`0`,`Int16`的最小值是`-32678`。一旦运算发生溢出,就返回最小值。
This commit is contained in:
parent
0a2a378bd2
commit
63fba26932
@ -167,7 +167,7 @@ SIMD.Int16x8.subSaturate(c, d)
|
|||||||
// Int16x8[-32768, 0, 0, 0, 0, 0, 0, 0, 0]
|
// Int16x8[-32768, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
```
|
```
|
||||||
|
|
||||||
上面代码中,`Uint16`的最小值是`0`,`subSaturate`的最小值是`-32678`。一旦运算发生溢出,就返回最小值。
|
上面代码中,`Uint16`的最小值是`0`,`Int16`的最小值是`-32678`。一旦运算发生溢出,就返回最小值。
|
||||||
|
|
||||||
### SIMD.%type%.mul(),SIMD.%type%.div(),SIMD.%type%.sqrt()
|
### SIMD.%type%.mul(),SIMD.%type%.div(),SIMD.%type%.sqrt()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user