diff options
Diffstat (limited to 'tests/bc/scripts/root.bc')
-rw-r--r-- | tests/bc/scripts/root.bc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bc/scripts/root.bc b/tests/bc/scripts/root.bc new file mode 100644 index 00000000..95210fe2 --- /dev/null +++ b/tests/bc/scripts/root.bc @@ -0,0 +1,19 @@ +scale = 30 + +s = 1 >> 1 + +for (i = 0; i < 100; ++i) +{ + cbrt(s) + s >>= 1 +} + +s = 1 >> 1 + +for (i = 0; i < 155; ++i) +{ + root(s, 5) + s >>= 1 +} + +halt |