Opened 15 years ago

Closed 13 years ago

#11 closed defect (invalid)

.35, 16.0d in rasql

Reported by: j.yu@… Owned by:
Priority: minor Milestone: Future
Component: qlparser Version: 8.0
Keywords: .35, 16.0d Cc:
Complexity: Medium

Description

select complec(.35, 16.0d) from mr —not work
select complec(.35, 16.0) from mr —not work
select complec(0.35, 16.0d) from mr —not work
select complec(0.35, 16.0) from mr — work

Change History (2)

comment:1 by Peter Baumann, 14 years ago

Priority: majorminor
  • there is a typo: "complec" → "complex".
  • mandatory leading zero with float numbers is duplicate of the ".4-5D" bug
  • query "select complec(0.35, 16.0d) from mr" probably has a problem with adjusting a float/double combination, which needs to be fixed.

comment:2 by Dimitar Misev, 13 years ago

Resolution: invalid
Status: newclosed
  • query "select complec(0.35, 16.0d) from mr" probably has a problem with adjusting a float/double combination, which needs to be fixed.

It gives a proper error though, so I'd say all is fine:

Parsing error 311 in line 1, column 15, token (: Complex constructor must have both arguments of the same type (i.e. float or double).
Note: See TracTickets for help on using tickets.