Closed modelica-trac-importer closed 6 years ago
Modified by dietmarw on 21 Sep 2011 18:13 UTC
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).
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