1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00

Update simd.md

上面代码中,`Uint16`的最小值是`0`,`subSaturate`的最小值是`-32678`。一旦运算发生溢出,就返回最小值。
修改为
上面代码中,`Uint16`的最小值是`0`,`Int16`的最小值是`-32678`。一旦运算发生溢出,就返回最小值。
This commit is contained in:
walkthecat 2017-05-17 10:07:02 +08:00 committed by GitHub
parent 0a2a378bd2
commit 63fba26932

View File

@ -167,7 +167,7 @@ SIMD.Int16x8.subSaturate(c, d)
// 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()