File tree Expand file tree Collapse file tree 5 files changed +163
-130
lines changed Expand file tree Collapse file tree 5 files changed +163
-130
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ under the licensing terms detailed in LICENSE:
49
49
* Peter Hayman <peteyhayman@gmail.com>
50
50
* ApsarasX <apsarax@outlook.com>
51
51
* Adrien Zinger <zinger.ad@gmail.com>
52
+ * Ruixiang Chen <xiang19890319@gmail.com>
52
53
53
54
Portions of this software are derived from third-party works licensed under
54
55
the following terms:
Original file line number Diff line number Diff line change @@ -844,9 +844,9 @@ declare namespace v128 {
844
844
/** Computes the maximum of each lane. */
845
845
export function max < T > ( a : v128 , b : v128 ) : v128 ;
846
846
/** Computes the pseudo-minimum of each lane. */
847
- export function pmin < T > ( a : v128 , b : v128 ) : v128 ;
847
+ export function pmin < T extends f32 | f64 > ( a : v128 , b : v128 ) : v128 ;
848
848
/** Computes the pseudo-maximum of each lane. */
849
- export function pmax < T > ( a : v128 , b : v128 ) : v128 ;
849
+ export function pmax < T extends f32 | f64 > ( a : v128 , b : v128 ) : v128 ;
850
850
/** Computes the dot product of two lanes each, yielding lanes one size wider than the input. */
851
851
export function dot < T extends i16 > ( a : v128 , b : v128 ) : v128 ;
852
852
/** Computes the average of each lane. */
You can’t perform that action at this time.
0 commit comments