modelica / ModelicaSpecification

Specification of the Modelica Language
https://specification.modelica.org
Creative Commons Attribution Share Alike 4.0 International
104 stars 40 forks source link

atan2(x,y) in language spezification #613

Closed modelica-trac-importer closed 6 years ago

modelica-trac-importer commented 6 years ago

Reported by will on 21 Sep 2011 15:30 UTC The notation in the Modelica language specification is quite misleading. On page 21 of ModelicaSpec32.pdf is written "atan2(x,y)" which is not correct assuming x and y are axis in a standard cartesian system. atan2 should be declared as atan2(y,x). I think, it is just a writing bug.

(The implementation of the corresponding function within the MSL is correct.)

Best regards Christoph Will


Migrated-From: https://trac.modelica.org/Modelica/ticket/613

modelica-trac-importer commented 6 years ago

Modified by dietmarw on 21 Sep 2011 18:13 UTC

modelica-trac-importer commented 6 years ago

Comment by sjoelund.se on 22 Sep 2011 06:48 UTC This bug is a duplicate of #187, which is set to be accepted into Modelica 3.3. Sadly that bug is hidden for users who are not logged in (I will fix that).