Skip to content

POC: scientific notation - #388

Open
Joshix-1 wants to merge 37 commits into
printfn:mainfrom
Joshix-1:scientific-notation-poc
Open

POC: scientific notation#388
Joshix-1 wants to merge 37 commits into
printfn:mainfrom
Joshix-1:scientific-notation-poc

Conversation

@Joshix-1

@Joshix-1 Joshix-1 commented Jul 18, 2026

Copy link
Copy Markdown

Changes

Fixes #123

This builds upon #389 for correct rounding.

I'm not really happy with the code, but from my testing it works.

> e^(-2000) to 1 sn
approx. 3 × 10^-869
> e^(-2000) to 4 sn
approx. 2.577 × 10^-869
> 10 ^ -100 to 6 sn
1.00000 × 10^-100
> 10 ^ 100 to 4 sn
1.000 × 10^100

Checklist

  • I used LLMs or similar AI tools when creating this pull request

@Joshix-1
Joshix-1 marked this pull request as draft July 18, 2026 22:12
@Joshix-1
Joshix-1 marked this pull request as ready for review July 19, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scientific notation in output

2 participants