Repository navigation
feat: switch grisu2 float-to-string algorithm to hybrid of xjb & zmij algorithms #3025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
JairusSW
wants to merge
50
commits into
AssemblyScript:main
Choose a base branch
from
JairusSW:jairus/switch-to-xjb
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
5705f06
chore: add xjb-as to util
JairusSW c778be9
chore: add liceses to NOTICE
JairusSW 1fdc61d
chore: update changed tests
JairusSW 09c3ef8
chore: simplify and use smaller tables
JairusSW 7cd14a4
chore: use table from number instead
JairusSW e0646ff
chore: update notice
JairusSW 650a7c3
chore: clean up
JairusSW 759c01f
chore: clean up
JairusSW fa93c15
chore: rename to dtoa.ts and remove XJB_SIMD toggle
JairusSW d41ce13
Update std/assembly/util/dtoa.ts
JairusSW 4aa4210
Update std/assembly/util/dtoa.ts
JairusSW 48f3ee5
Update std/assembly/util/dtoa.ts
JairusSW 5dd492b
Update std/assembly/util/dtoa.ts
JairusSW b1bcc18
Update std/assembly/util/dtoa.ts
JairusSW 4bdb432
chore: update import and update test outputs
JairusSW 76c4b11
Update std/assembly/util/dtoa.ts
JairusSW b9cf897
Update std/assembly/util/dtoa.ts
JairusSW 87c12f1
Update std/assembly/util/dtoa.ts
JairusSW c97a0e9
Update std/assembly/util/dtoa.ts
JairusSW 9721226
chore: add lazy decorators where needed, update styling, etc
JairusSW 2dfdb0f
use let
MaxGraey f322f2d
Apply suggestion from @MaxGraey
MaxGraey 422a611
chore: add some comments for more esoteric literals
JairusSW e7b2dd8
Merge branch 'jairus/switch-to-xjb' of github.com:JairusSW/assemblysc…
JairusSW 795b262
chore: use named constants instead of esoteric literals
JairusSW 209ed02
chore: dedupe constants
JairusSW fe03f90
chore: standardize naming convention
JairusSW 29ac707
core: more styling stuff
JairusSW d5b0607
chore: remove dbl ternary
JairusSW 8044b88
reformat
MaxGraey 43dbf58
chore: use more descriptive names
JairusSW c5c6e07
Merge branch 'jairus/switch-to-xjb' of github.com:JairusSW/assemblysc…
JairusSW d93842f
fix: correct dtoa digit counts and shortest formatting
JairusSW 644040a
Merge origin/main into jairus/switch-to-xjb
JairusSW a28f957
fix: finalize float formatting and review cleanup
JairusSW c13739d
Avoid emitting unused dtoa globals in debug output
JairusSW 42ff464
Optimize float formatting fast paths and validate scalar/SIMD output
JairusSW 859401d
Cover f32 exact-integer fast-path boundary
JairusSW cf6bad1
Optimize SIMD digit packing and normalized f64 formatting
JairusSW f516ed4
Use SIMD digit packing for long integer formatting
JairusSW c9f8b9c
Use full dtoa power cache in speed builds
JairusSW fdbc7ed
Speed up subnormal f32 digit scaling
JairusSW 1079de4
Use compact power cache in all builds
JairusSW ed4390a
Reuse float power cache for common doubles
JairusSW 055a82d
Share minor powers with float cache
JairusSW f39d7b7
Use one shared power table in every build
JairusSW dcab81e
Trim shared power table to common f64 range
JairusSW 881a8ec
Use compact power cache outside common exponents
JairusSW 84f5f2f
Test exact dtoa output and compact powers
JairusSW 660bd25
Speed up exact-integer string formatting
JairusSW File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: rename to dtoa.ts and remove XJB_SIMD toggle
- Loading branch information
commit fa93c15f309d1463e0ecf6878a21855697ac36eb
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.