✓
Passing This code compiles and runs correctly.
Code
// std/num: 2^70 — exact arbitrary precision, no float rounding.
import std/io
import std/num
std/num:lit(2)
| exact a |> std/num:pow(a, n: 70)
| exact p |> std/io:print.ln("{{ p:s }}") |> std/num:free(n: p)
| neg-exp |> std/io:print.ln("negexp")
| bad y |> std/io:print.ln("bad")
Actual
1.180591620717411303424e21
Expected output
1.180591620717411303424e21
Flows
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: 2)
Test Configuration
MUST_RUN