Skip to content

Improve bigdec tests#933

Merged
jeaye merged 2 commits into
jank-lang:mainfrom
dgr:dgr-improve-bigdec
Jul 14, 2026
Merged

Improve bigdec tests#933
jeaye merged 2 commits into
jank-lang:mainfrom
dgr:dgr-improve-bigdec

Conversation

@dgr

@dgr dgr commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

0.5M "0.5"
-0.5M "-0.5"
1E+10M "1e10" ; exponential notation
1E+10M "1E10"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scientific notation also supports + and - prefixes. Probably worth adding.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+/- prefixes for the exponent or the mantissa, or both?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just added all combinations. See if that works for you.

@jeaye jeaye left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@jeaye
jeaye merged commit 164a4b3 into jank-lang:main Jul 14, 2026
5 checks passed
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.

2 participants