From 9d0f0b2c714819d93eb29f0f00fd5aa600da880f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 27 May 2026 15:07:20 +0300 Subject: feat: Implement B_newstr --- example.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'example.c') diff --git a/example.c b/example.c index 52d402e..420264a 100644 --- a/example.c +++ b/example.c @@ -68,6 +68,10 @@ main() { astr = B_tostr(&g, a); printf("a >> 30 = %s\n", astr); + BigInt c = B_newstr(&g, "12345678901234567890123"); + astr = B_tostr(&g, c); + printf("c = %s\n", astr); + PRINT_NOTOK(g.destroy(&g)); PRINT_NOTOK(t.destroy(&t)); PRINT_NOTOK(T.destroy(&T)); -- cgit v1.2.3