Raku / atom-language

Atom/Github Raku Syntax Highlighting Support 🦋
Other
24 stars 11 forks source link

Feature Request: U+23E8 DECIMAL EXPONENT SYMBOL for Scientific Notation #76

Closed clsn closed 6 years ago

clsn commented 6 years ago

It's such a great character, it's a shame more places don't use it. It's right there in its name!

> 6.02⏨23
6.02e+23
>2.35⏨5
235000

It's so clear, placing the 10 in subscript position so the exponent looks like an exponent. Even cooler would be to make that the normal output for floats, but that would probably break a lot of things. Might as well use Unicode for all it's worth.

Leave this in. For internal use.

clsn commented 6 years ago

Apologies. Wrong repo.