Uploaded image for project: 'OASIS Open Document Format for Office Applications (OpenDocument) TC'
  1. OASIS Open Document Format for Office Applications (OpenDocument) TC
  2. OFFICE-3822

atan2 in attribute draw:formula (19.171, part 1 ODF1.2) has wrong order of arguments

    Details

    • Type: Bug
    • Status: Applied
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ODF 1.2
    • Fix Version/s: ODF 1.3
    • Component/s: Graphics, Part 1 (Schema)
    • Labels:
      None
    • Proposal:
      Hide

      Current text:
      atan2(x,y)
      returns the angle <...> of the vector (x,y) with the x-axis

      Proposed text:
      atan2(y,x)
      returns the angle <..> of the vector (x,y) with the x-axis

      I have skipped the part "in degrees" here, because that is an additional problem, for which I will write another issue.

      Show
      Current text: atan2(x,y) returns the angle <...> of the vector (x,y) with the x-axis Proposed text: atan2(y,x) returns the angle <..> of the vector (x,y) with the x-axis I have skipped the part "in degrees" here, because that is an additional problem, for which I will write another issue.

      Description

      The arguments of atan2 are specified in the order x,y. But the applications Apache OpenOffice, Symphony, LibreOffice, Calligra Stage, PowerPoint Preview 2013 use it in the order atan2(y,x).
      The order (y,x) is common for programming languages too.

      Does anyone know an application, that has implemented it in the order (x,y)?
      If not, I suggest to change it in ODF1.2 Errata.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              regina.henschel Regina Henschel
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: