diff options
| author | Syndamia <kamen@syndamia.com> | 2026-05-27 15:07:20 +0300 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2026-07-12 09:14:06 +0300 |
| commit | 9d0f0b2c714819d93eb29f0f00fd5aa600da880f (patch) | |
| tree | 6b2c28b21253ea65bb9675acb85e2dbb204d7535 /example.c | |
| parent | 2d5995f3a8040fde50300f3bf2515dbf2dbede36 (diff) | |
| download | foollib-9d0f0b2c714819d93eb29f0f00fd5aa600da880f.tar foollib-9d0f0b2c714819d93eb29f0f00fd5aa600da880f.tar.gz foollib-9d0f0b2c714819d93eb29f0f00fd5aa600da880f.zip | |
feat: Implement B_newstr
Diffstat (limited to 'example.c')
| -rw-r--r-- | example.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)); |
