Skip to content
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

Support positive sign in scientific notation #706

Merged
merged 3 commits into from Jun 14, 2020

Conversation

Alloyed
Copy link
Contributor

@Alloyed Alloyed commented Oct 14, 2019

That is to say, numbers like 1.0e+10. This was found as a result of porting a benchmark from another language to Wren.

This case is already handled by strtod(), so we only need to teach the tokenizer that it's ok.

@mhermier
Copy link
Contributor

mhermier commented Oct 14, 2019 via email

@ruby0x1 ruby0x1 added the 0.4.0 The 0.4.0 tag release label Feb 11, 2020
@ruby0x1 ruby0x1 closed this Jun 12, 2020
@ruby0x1 ruby0x1 reopened this Jun 13, 2020
@ruby0x1 ruby0x1 changed the base branch from master to main June 13, 2020 21:21
@ruby0x1 ruby0x1 merged commit 7983082 into wren-lang:main Jun 14, 2020
@ruby0x1
Copy link
Member

ruby0x1 commented Jun 14, 2020

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.4.0 The 0.4.0 tag release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants