How to calculate? (a✕b)2
2 * 3
|----
|
6 ^ 2
|
36
2 * 3 * 4
|----
|
6 ^ 2
|
36 * 4
|--------
|
144 ^ 2
|
20736
2 * 3 * 4 * 5
|----
|
6 ^ 2
|
36 * 4
|--------
|
144 ^ 2
|
20736 * 5
|------------
|
103680 ^ 2
|
10749542400
First 9 digits are showing by default
616,075,336 3776638803808256
123
❎ 456
❎ 789
Append one #️⃣ for resize
616,075,336,377,663 8803808256
123
❎ 456
❎ 789
#️⃣ 15
Another #️⃣ to offset
616 075,336,377,663,880 3808256
123
❎ 456
❎ 789
#️⃣ 15
#️⃣ 3
Misc.
0
s replaced to 1
, e.g.:
2 * 0 * 3
same as 2 * 1 * 3
2 * 00 * 3
same as 2 * 1 * 3
import { config } from 'accdoo';
const parse = config({
max_size: 1000,
default_size: 9,
});
const arr = [ '123', '456', '789' ];
parse(arr);
parse(arr, { size: 15 });
parse(arr, { size: 15, round: true });
parse(arr, { size: 15, offset: 3 });
Node.js C++
V8
npx -y accdoo 123 456 789 "#15 #3"
Deno (recommended) Rust
V8
is secure by default.
Unless you specifically enable it,
a program run with Deno has no
file, network, or environment access.
deno run npm:accdoo 123 456 789 "#15 #3"
Bun Zig
JSC
is a fast JavaScript runtime designed as
a drop-in replacement for Node.js.
It's powered by JavaScriptCore under the hood,
dramatically reducing startup times and memory usage.
bun x accdoo 123 456 789 "#15 #3"
QuickJS C
is a small and embeddable JavaScript engine.
Fast interpreter with very low startup time,
can compile JavaScript sources to executables with
no external dependency.
mkdir demo
cd demo
npm init --yes
npm install --save accdoo
qjs ./node_modules/accdoo/dist/cli/q.js 123 456 789 "#15 #3"