Opened 14 years ago

Closed 13 years ago

#42 closed enhancement (fixed)

division should always have result type float or double

Reported by: Peter Baumann Owned by:
Priority: minor Milestone:
Component: catalogmgr Version:
Keywords: Cc:
Complexity: Medium

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 by Dimitar Misev, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.