Opened 7 years ago

Closed 5 years ago

#42 closed enhancement (fixed)

division should always have result type float or double

Reported by: pbaumann Owned by:
Priority: minor Milestone:
Component: catalogmgr Version:
Keywords: Cc:
Complexity:

Description

Currently, int division yields int, which sometimes is not what is expected. This may have significant impact on operation results. Of course, this can be overcome by casting operands to float, but this may not be intuitive to all QL users.
We need to investigate whether the division result type should always be a float or double.

Change History (1)

comment:1 Changed 5 years ago by dmisev

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.