Skip to content

Commit 65671f6

Browse files
committed
remove caml_bigint_256_to_string
1 parent 80f1dea commit 65671f6

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-
to_string(x: Bigint256) {
42-
return toMlStringAscii(x[1].toString());
43-
},
4441
// TODO performance critical
4542
test_bit(b: Bigint256, i: number): MlBool {
4643
return MlBool(!!(b[1] & (1n << BigInt(i))));

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_to_string: { from: [bigint256], to: decimalString },
117116
caml_bigint_256_test_bit: {
118117
from: [bigint256, numberLessThan(256)],
119118
to: boolean,

0 commit comments

Comments
 (0)