Ticket #88 (closed defect: wontfix)
New exponential format always creates floating point
| Reported by: | jorgenpt | Owned by: | mooneer |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | interpreter | Version: | 1.0.1 |
| Keywords: | Cc: |
Description
The new exponential format (10e2, 020e2, etc) always creates floating point variables. Shouldn't it instead create constants of the type you specify?
E.g. 1.1e2 = 110.0
1e2 = 100
Change History
Note: See
TracTickets for help on using
tickets.

Exponential notation has always been a floating-point representation in other languages. Making it an integer in some cases and floating-point in others will most likely cause confusion. Won't fix.