XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-alpha1, 4.0
    • Legacy/CQL
    • None

    Description

      The goal of this ticket is to add support for arithmetic operators:

      • -: Change the sign of the argument
      • +: Addition operator
      • -: Minus operator
      • *: Multiplication operator
      • /: Division operator
      • %: Modulo operator

      This ticket we should focus on adding operator only for numeric types to keep the scope as small as possible. Dates and string operations will be adressed in follow up tickets.

      The operation precedence should be:

      1. *, /, %
      2. +, -

      Some implicit data conversion should be performed when operations are performed on different types (e.g. double + int).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              blerer Benjamin Lerer
              Sylvain Lebresne
              Votes:
              1 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: