{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/931","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/931/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/931/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/931/events","html_url":"https://github.com/tbeu/Modelica/issues/931","id":197537847,"number":931,"title":"Unnecessary declarations of builtin functions as external C libraries in Math","user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"labels":[{"id":506762999,"url":"https://api.github.com/repos/tbeu/Modelica/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":506769526,"url":"https://api.github.com/repos/tbeu/Modelica/labels/L:Math","name":"L:Math","color":"0000aa","default":false},{"id":506770258,"url":"https://api.github.com/repos/tbeu/Modelica/labels/P:%20low","name":"P: low","color":"ffdddd","default":false}],"state":"open","locked":false,"assignee":{"login":"beutlich","id":14896695,"avatar_url":"https://avatars.githubusercontent.com/u/14896695?v=3","gravatar_id":"","url":"https://api.github.com/users/beutlich","html_url":"https://github.com/beutlich","followers_url":"https://api.github.com/users/beutlich/followers","following_url":"https://api.github.com/users/beutlich/following{/other_user}","gists_url":"https://api.github.com/users/beutlich/gists{/gist_id}","starred_url":"https://api.github.com/users/beutlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beutlich/subscriptions","organizations_url":"https://api.github.com/users/beutlich/orgs","repos_url":"https://api.github.com/users/beutlich/repos","events_url":"https://api.github.com/users/beutlich/events{/privacy}","received_events_url":"https://api.github.com/users/beutlich/received_events","type":"User","site_admin":false},"assignees":[{"login":"beutlich","id":14896695,"avatar_url":"https://avatars.githubusercontent.com/u/14896695?v=3","gravatar_id":"","url":"https://api.github.com/users/beutlich","html_url":"https://github.com/beutlich","followers_url":"https://api.github.com/users/beutlich/followers","following_url":"https://api.github.com/users/beutlich/following{/other_user}","gists_url":"https://api.github.com/users/beutlich/gists{/gist_id}","starred_url":"https://api.github.com/users/beutlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beutlich/subscriptions","organizations_url":"https://api.github.com/users/beutlich/orgs","repos_url":"https://api.github.com/users/beutlich/repos","events_url":"https://api.github.com/users/beutlich/events{/privacy}","received_events_url":"https://api.github.com/users/beutlich/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/tbeu/Modelica/milestones/47","html_url":"https://github.com/tbeu/Modelica/milestone/47","labels_url":"https://api.github.com/repos/tbeu/Modelica/milestones/47/labels","id":2214850,"number":47,"title":"MSL3.2.1","description":"Backward compatible bug-fix release.","creator":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":183,"state":"closed","created_at":"2016-12-25T13:00:27Z","updated_at":"2016-12-26T05:25:27Z","due_on":"2013-03-31T07:00:00Z","closed_at":"2016-12-25T13:00:27Z"},"comments":9,"created_at":"2016-12-26T05:25:27Z","updated_at":"2016-12-26T05:27:26Z","closed_at":null,"body":"**Reported by pharman on 14 Dec 2012 13:19 UTC**\nThe annotations in Modelica/Math/package.mo on sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, tanh, exp, log & log10 aren't required because they are all declared as \"builtin\" not \"C\" so a Library annotation is not relevant.\n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/931"},"comment":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/comments/269164188","html_url":"https://github.com/tbeu/Modelica/issues/931#issuecomment-269164188","issue_url":"https://api.github.com/repos/tbeu/Modelica/issues/931","id":269164188,"user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T05:27:26Z","updated_at":"2016-12-26T05:27:26Z","body":"**Comment by otter on 20 May 2013 09:03 UTC**\nFixed in ebdf7ba332cf4f9d1b4a3c6105433abea2df6297 and in r6406:\n\nRemoved the wrong ModelicaExternalC library annotation from builtin functions and added in the Modelica 3.2r2 specification a clarification:\n\nThe \"builtin\" specification is only used for functions that are defined to be built-in in Modelica. The external-function call mechanism for \"builtin\" functions is implementation-defined. <ins>_Typically, for functions from the standard C-library, the prototype of the function is provided but no library annotation. Currently, there are no other builtin functions defined in Modelica._</ins>] \n[Example:\n\n```\npackage Modelica \n  package Math\n    function sin\n      input Real x;\n      output Real y;\n      external \"builtin\" y=sin(x);\n    end sin;\n  end Math;\nend Modelica;\n```"}}
{"actor":{"display_login":"modelica-trac-importer"}}