{"action":"opened","issue":{"url":"https://api.github.com/repos/ARM-software/CMSIS_5/issues/112","repository_url":"https://api.github.com/repos/ARM-software/CMSIS_5","labels_url":"https://api.github.com/repos/ARM-software/CMSIS_5/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/ARM-software/CMSIS_5/issues/112/comments","events_url":"https://api.github.com/repos/ARM-software/CMSIS_5/issues/112/events","html_url":"https://github.com/ARM-software/CMSIS_5/issues/112","id":189708917,"number":112,"title":"arm_math.h: macro TABLE_SIZE tend to cause name clashes","user":{"login":"franzhollerer-Artesyn","id":17589408,"avatar_url":"https://avatars.githubusercontent.com/u/17589408?v=3","gravatar_id":"","url":"https://api.github.com/users/franzhollerer-Artesyn","html_url":"https://github.com/franzhollerer-Artesyn","followers_url":"https://api.github.com/users/franzhollerer-Artesyn/followers","following_url":"https://api.github.com/users/franzhollerer-Artesyn/following{/other_user}","gists_url":"https://api.github.com/users/franzhollerer-Artesyn/gists{/gist_id}","starred_url":"https://api.github.com/users/franzhollerer-Artesyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franzhollerer-Artesyn/subscriptions","organizations_url":"https://api.github.com/users/franzhollerer-Artesyn/orgs","repos_url":"https://api.github.com/users/franzhollerer-Artesyn/repos","events_url":"https://api.github.com/users/franzhollerer-Artesyn/events{/privacy}","received_events_url":"https://api.github.com/users/franzhollerer-Artesyn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-16T13:48:40Z","updated_at":"2016-11-16T13:48:40Z","closed_at":null,"body":"From arm_math.h:\r\n\r\n```c\r\n/**\r\n   * @brief Macros required for SINE and COSINE Fast math approximations\r\n   */\r\n\r\n#define FAST_MATH_TABLE_SIZE  512\r\n#define FAST_MATH_Q31_SHIFT   (32 - 10)\r\n#define FAST_MATH_Q15_SHIFT   (16 - 10)\r\n#define CONTROLLER_Q31_SHIFT  (32 - 9)\r\n#define TABLE_SIZE  256\r\n#define TABLE_SPACING_Q31     0x400000\r\n#define TABLE_SPACING_Q15     0x80\r\n```\r\n\r\nThe very generic macro *TABLE_SIZE* in a public interface tend to cause name clashes. I suggest to give it a more specific name."}}
{"actor":{"display_login":"franzhollerer-Artesyn"}}