@@ -6,9 +6,9 @@ import { bitXorI2 } from "@thi.ng/vectors/bit-xor";
6
6
import { divI2 , divNI2 } from "@thi.ng/vectors/divi" ;
7
7
import { fmod2 } from "@thi.ng/vectors/fmod" ;
8
8
import { fmodN2 } from "@thi.ng/vectors/fmodn" ;
9
- import { lshiftI2 } from "@thi.ng/vectors/lshift" ;
9
+ import { lshiftI2 , lshiftNI2 } from "@thi.ng/vectors/lshift" ;
10
10
import { mulI2 , mulNI2 } from "@thi.ng/vectors/muli" ;
11
- import { rshiftI2 } from "@thi.ng/vectors/rshift" ;
11
+ import { rshiftI2 , rshiftNI2 } from "@thi.ng/vectors/rshift" ;
12
12
import { subI2 , subNI2 } from "@thi.ng/vectors/subi" ;
13
13
import type { JSBuiltinsIntVec } from "../api.js" ;
14
14
import { POOL_IVEC2 } from "../pool.js" ;
@@ -35,8 +35,10 @@ export const IVEC2: JSBuiltinsIntVec = {
35
35
subnv : ( a , b ) => subI2 ( null , uniform ( a ) , b ) ,
36
36
bitand : ( a , b ) => bitAndI2 ( next ( ) , a , b ) ,
37
37
lshift : ( a , b ) => lshiftI2 ( next ( ) , a , b ) ,
38
+ lshiftvn : ( a , b ) => lshiftNI2 ( next ( ) , a , b ) ,
38
39
bitnot1 : ( a ) => bitNotI2 ( next ( ) , a ) ,
39
40
bitor : ( a , b ) => bitOrI2 ( next ( ) , a , b ) ,
40
41
rshift : ( a , b ) => rshiftI2 ( next ( ) , a , b ) ,
42
+ rshiftvn : ( a , b ) => rshiftNI2 ( next ( ) , a , b ) ,
41
43
bitxor : ( a , b ) => bitXorI2 ( next ( ) , a , b ) ,
42
44
} ;
0 commit comments