Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
5705f06
chore: add xjb-as to util
JairusSW Jun 9, 2026
c778be9
chore: add liceses to NOTICE
JairusSW Jun 9, 2026
1fdc61d
chore: update changed tests
JairusSW Jun 9, 2026
09c3ef8
chore: simplify and use smaller tables
JairusSW Jun 16, 2026
7cd14a4
chore: use table from number instead
JairusSW Jun 16, 2026
e0646ff
chore: update notice
JairusSW Jun 16, 2026
650a7c3
chore: clean up
JairusSW Jun 16, 2026
759c01f
chore: clean up
JairusSW Jun 16, 2026
fa93c15
chore: rename to dtoa.ts and remove XJB_SIMD toggle
JairusSW Jun 17, 2026
d41ce13
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
4aa4210
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
48f3ee5
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
5dd492b
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
b1bcc18
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
4bdb432
chore: update import and update test outputs
JairusSW Jun 17, 2026
76c4b11
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
b9cf897
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
87c12f1
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
c97a0e9
Update std/assembly/util/dtoa.ts
JairusSW Jun 17, 2026
9721226
chore: add lazy decorators where needed, update styling, etc
JairusSW Jun 17, 2026
2dfdb0f
use let
MaxGraey Jun 18, 2026
f322f2d
Apply suggestion from @MaxGraey
MaxGraey Jun 18, 2026
422a611
chore: add some comments for more esoteric literals
JairusSW Jun 18, 2026
e7b2dd8
Merge branch 'jairus/switch-to-xjb' of github.com:JairusSW/assemblysc…
JairusSW Jun 18, 2026
795b262
chore: use named constants instead of esoteric literals
JairusSW Jun 18, 2026
209ed02
chore: dedupe constants
JairusSW Jun 18, 2026
fe03f90
chore: standardize naming convention
JairusSW Jun 18, 2026
29ac707
core: more styling stuff
JairusSW Jun 18, 2026
d5b0607
chore: remove dbl ternary
JairusSW Jun 18, 2026
8044b88
reformat
MaxGraey Jun 18, 2026
43dbf58
chore: use more descriptive names
JairusSW Jun 24, 2026
c5c6e07
Merge branch 'jairus/switch-to-xjb' of github.com:JairusSW/assemblysc…
JairusSW Jun 24, 2026
d93842f
fix: correct dtoa digit counts and shortest formatting
JairusSW Sep 21, 2026
644040a
Merge origin/main into jairus/switch-to-xjb
JairusSW Sep 21, 2026
a28f957
fix: finalize float formatting and review cleanup
JairusSW Sep 21, 2026
c13739d
Avoid emitting unused dtoa globals in debug output
JairusSW Sep 21, 2026
42ff464
Optimize float formatting fast paths and validate scalar/SIMD output
JairusSW Sep 21, 2026
859401d
Cover f32 exact-integer fast-path boundary
JairusSW Sep 21, 2026
cf6bad1
Optimize SIMD digit packing and normalized f64 formatting
JairusSW Sep 21, 2026
f516ed4
Use SIMD digit packing for long integer formatting
JairusSW Sep 21, 2026
c9f8b9c
Use full dtoa power cache in speed builds
JairusSW Sep 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,14 @@ the following terms:

Copyright (c) Arm Limited
The MIT License (https://opensource.org/licenses/MIT)

* xjb-as: https://github.com/JairusSW/xjb-as

The ECMAScript-compatible f64/f32 -> string (dtoa/ftoa) implementation in
std/assembly/util/dtoa.ts is vendored from xjb-as.

Copyright (c) Jairus Tanaka
Apache License, Version 2.0 (https://opensource.org/licenses/Apache-2.0)

xjb-as is itself derived from xjb (https://github.com/xjb714/xjb) and the
Zmij shortest-decimal core (https://github.com/vitaut/zmij).
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@
"build": "node scripts/build",
"watch": "node scripts/build --watch",
"coverage": "npx c8 -- npm test",
"test": "npm run test:parser && npm run test:compiler -- --parallel && npm run test:browser && npm run test:asconfig && npm run test:transform && npm run test:cli",
"test": "npm run test:parser && npm run test:compiler -- --parallel && npm run test:dtoa && npm run test:browser && npm run test:asconfig && npm run test:transform && npm run test:cli",
"test:parser": "node --enable-source-maps tests/parser",
"test:compiler": "node --enable-source-maps --no-warnings tests/compiler",
"test:dtoa": "node tests/dtoa",
"test:browser": "node --enable-source-maps tests/browser",
"test:asconfig": "cd tests/asconfig && npm run test",
"test:transform": "npm run test:transform:esm && npm run test:transform:cjs",
Expand Down
1,384 changes: 1,384 additions & 0 deletions std/assembly/util/dtoa.ts

Large diffs are not rendered by default.

Loading
Loading