Ticket #88 (closed defect: wontfix)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by mooneer

  • Status changed from new to closed
  • Version set to 1.0.1
  • Resolution set to wontfix

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.

Note: See TracTickets for help on using tickets.