Ticket #84 (closed enhancement: fixed)
New number formats
| Reported by: | jorgenpt | Owned by: | mooneer |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | interpreter | Version: | 1.0.0 |
| Keywords: | Cc: |
Description
Hi!
I'd love to see the following C-like constant formats for numbers:
Octal:
0141, 0442, etc.
Hex:
0xF00F
Floating point:
.5
Binary:
0b001010
Also, the exponential operator should be expanded to also cover decimal numbers, and for both floating point numbers and decimal it should support a sign. Example:
1e10 1.5e+2 10.5e-1
Change History
Note: See
TracTickets for help on using
tickets.

In as of r540.