✓
Passing This code compiles and runs correctly.
Code
// std/num: 1/3 at 30 significant digits.
import std/io
import std/num
std/num:lit(1)
| exact c |> std/num:lit(3)
| exact d |> std/num:div(a: c, b: d, prec: 30)
| exact q |> std/io:print.ln("{{ q:s }}") |> std/num:free(n: q)
| div-zero |> std/io:print.ln("divzero")
| bad x |> std/io:print.ln("bad")
| bad y |> std/io:print.ln("bad")
Actual
3.3333333333333333333333333333e-1
Expected output
3.3333333333333333333333333333e-1
Flows
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: 1)
Test Configuration
MUST_RUN