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

Scientific notation for float literals #11

Open
cvauclair opened this issue Aug 24, 2021 · 0 comments
Open

Scientific notation for float literals #11

cvauclair opened this issue Aug 24, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers mesh:core Mesh Language core feature

Comments

@cvauclair
Copy link
Contributor

cvauclair commented Aug 24, 2021

Description

The Mesh Engine should be able to parse float values expressed in scientific notation.

Examples:

Decimal notation Scientific notation Sientific notation (Mesh)
2 2×100 2e0
300 3×102 3e2
4321.768 4.321768×103 4.321768e3
−53000 −5.3×104 -5.3e4
6720000000 6.72×109 6.72e9
0.2 2×10−1 2e-1
987 9.87×102 9.87e2
0.00000000751 7.51×10−9 7.51e-9
@cvauclair cvauclair added enhancement New feature or request mesh:core Mesh Language core feature good first issue Good for newcomers labels Aug 24, 2021
@mateobelanger mateobelanger self-assigned this Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers mesh:core Mesh Language core feature
Projects
None yet
Development

No branches or pull requests

2 participants