Skip to content

Commit 80f1dea

Browse files
committed
remove caml_bigint_256_print
1 parent 2351596 commit 80f1dea

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/bindings/crypto/bindings/bigint256.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ const Bigint256Bindings = withPrefix('caml_bigint_256', {
3838
if (x === y) return 0;
3939
return 1;
4040
},
41-
print([, x]: Bigint256): void {
42-
console.log(x.toString());
43-
},
4441
to_string(x: Bigint256) {
4542
return toMlStringAscii(x[1].toString());
4643
},

src/bindings/crypto/bindings/bindings.unit-test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ equivalentRecord(Bigint256Bindings, wasm, {
113113
caml_bigint_256_bytes_per_limb: { from: [], to: number },
114114
caml_bigint_256_div: { from: [bigint256, bigint256], to: bigint256 },
115115
caml_bigint_256_compare: { from: [bigint256, bigint256], to: number },
116-
caml_bigint_256_print: undefined, // this would spam the console
117116
caml_bigint_256_to_string: { from: [bigint256], to: decimalString },
118117
caml_bigint_256_test_bit: {
119118
from: [bigint256, numberLessThan(256)],

0 commit comments

Comments
 (0)