userland: add archive tools and pinned GoAWK, esbuild, and QuickJS
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
{ n = $1
|
||||
n += $1
|
||||
if (n != $1 + $1) print NR, "urk +="
|
||||
n = $1
|
||||
n -= $1
|
||||
if (n != 0) print NR, "urk -="
|
||||
n = $1
|
||||
n *= 3.5
|
||||
if (n != 3.5 * $1) print NR, "urk *="
|
||||
n = $1
|
||||
n /= 4
|
||||
if (n != $1 / 4) print NR, "urk /="
|
||||
n = NR
|
||||
n ^= 2
|
||||
if (n != NR * NR) print NR, "urk1 ^=", n, NR * NR
|
||||
n = NR
|
||||
n **= 2
|
||||
if (n != NR * NR) print NR, "urk1 **=", n, NR * NR
|
||||
n = NR
|
||||
n ^= 1.5
|
||||
ns = sprintf("%.10g", n)
|
||||
sq = sprintf("%.10g", NR * sqrt(NR))
|
||||
if (ns != sq) print NR, "urk2 ^=", ns, sq
|
||||
}
|
||||
Reference in New Issue
Block a user