@@ -339,7 +339,7 @@ external ignore: bigint => unit = "%ignore"
339339/**
340340`land(a, b)` calculates the bitwise AND of two bigints.
341341
342- **Deprecated:** Use `&` operator or `bitwiseAnd` instead.
342+ **Deprecated:** Use `&&& ` operator or `bitwiseAnd` instead.
343343
344344## Examples
345345
@@ -348,16 +348,16 @@ BigInt.land(7n, 4n) == 4n
348348```
349349*/
350350@deprecated ({
351- reason : "Use `&` operator or `bitwiseAnd` instead." ,
352- migrate : %insert.unlabelledArgument (0 ) & %insert.unlabelledArgument (1 ),
351+ reason : "Use `&&& ` operator or `bitwiseAnd` instead." ,
352+ migrate : %insert.unlabelledArgument (0 ) && & %insert.unlabelledArgument (1 ),
353353 migrateInPipeChain : BigInt .bitwiseAnd (),
354354})
355355external land : (bigint , bigint ) => bigint = "%andbigint"
356356
357357/**
358358`lor(a, b)` calculates the bitwise OR of two bigints.
359359
360- **Deprecated:** Use `bitwiseOr` instead.
360+ **Deprecated:** Use `|||` operator or ` bitwiseOr` instead.
361361
362362## Examples
363363
@@ -366,15 +366,16 @@ BigInt.lor(7n, 4n) == 7n
366366```
367367*/
368368@deprecated ({
369- reason : "Use `bitwiseOr` instead." ,
370- migrate : BigInt .bitwiseOr (),
369+ reason : "Use `|||` operator or `bitwiseOr` instead." ,
370+ migrate : %insert.unlabelledArgument (0 ) || | %insert.unlabelledArgument (1 ),
371+ migrateInPipeChain : BigInt .bitwiseOr (),
371372})
372373external lor : (bigint , bigint ) => bigint = "%orbigint"
373374
374375/**
375376`lxor(a, b)` calculates the bitwise XOR of two bigints.
376377
377- **Deprecated:** Use `^` operator or `bitwiseXor` instead.
378+ **Deprecated:** Use `^^^ ` operator or `bitwiseXor` instead.
378379
379380## Examples
380381
@@ -383,16 +384,16 @@ BigInt.lxor(7n, 4n) == 3n
383384```
384385*/
385386@deprecated ({
386- reason : "Use `^` operator or `bitwiseXor` instead." ,
387- migrate : %insert.unlabelledArgument (0 ) ^ %insert.unlabelledArgument (1 ),
387+ reason : "Use `^^^ ` operator or `bitwiseXor` instead." ,
388+ migrate : %insert.unlabelledArgument (0 ) ^^^ %insert.unlabelledArgument (1 ),
388389 migrateInPipeChain : BigInt .bitwiseXor (),
389390})
390391external lxor : (bigint , bigint ) => bigint = "%xorbigint"
391392
392393/**
393394`lnot(bigint)` calculates the bitwise NOT of a bigint.
394395
395- **Deprecated:** Use `~` operator or `bitwiseNot` instead.
396+ **Deprecated:** Use `~~~ ` operator or `bitwiseNot` instead.
396397
397398## Examples
398399
@@ -401,8 +402,8 @@ BigInt.lnot(2n) == -3n
401402```
402403*/
403404@deprecated ({
404- reason : "Use `~` operator or `bitwiseNot` instead." ,
405- migrate : ~(%insert.unlabelledArgument (0 )),
405+ reason : "Use `~~~ ` operator or `bitwiseNot` instead." ,
406+ migrate : ~~~ (%insert.unlabelledArgument (0 )),
406407 migrateInPipeChain : BigInt .bitwiseNot (),
407408})
408409external lnot : bigint => bigint = "%bitnot_bigint"
0 commit comments