{"action":"created","issue":{"url":"https://api.github.com/repos/kokkos/kokkos/issues/656","repository_url":"https://api.github.com/repos/kokkos/kokkos","labels_url":"https://api.github.com/repos/kokkos/kokkos/issues/656/labels{/name}","comments_url":"https://api.github.com/repos/kokkos/kokkos/issues/656/comments","events_url":"https://api.github.com/repos/kokkos/kokkos/issues/656/events","html_url":"https://github.com/kokkos/kokkos/issues/656","id":210612880,"number":656,"title":"power of two functions","user":{"login":"hcedwar","id":7605869,"avatar_url":"https://avatars0.githubusercontent.com/u/7605869?v=4","gravatar_id":"","url":"https://api.github.com/users/hcedwar","html_url":"https://github.com/hcedwar","followers_url":"https://api.github.com/users/hcedwar/followers","following_url":"https://api.github.com/users/hcedwar/following{/other_user}","gists_url":"https://api.github.com/users/hcedwar/gists{/gist_id}","starred_url":"https://api.github.com/users/hcedwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcedwar/subscriptions","organizations_url":"https://api.github.com/users/hcedwar/orgs","repos_url":"https://api.github.com/users/hcedwar/repos","events_url":"https://api.github.com/users/hcedwar/events{/privacy}","received_events_url":"https://api.github.com/users/hcedwar/received_events","type":"User","site_admin":false},"labels":[{"id":242037171,"url":"https://api.github.com/repos/kokkos/kokkos/labels/Feature%20Request","name":"Feature Request","color":"5319e7","default":false},{"id":290651717,"url":"https://api.github.com/repos/kokkos/kokkos/labels/InDevelop","name":"InDevelop","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":{"login":"ibaned","id":971921,"avatar_url":"https://avatars2.githubusercontent.com/u/971921?v=4","gravatar_id":"","url":"https://api.github.com/users/ibaned","html_url":"https://github.com/ibaned","followers_url":"https://api.github.com/users/ibaned/followers","following_url":"https://api.github.com/users/ibaned/following{/other_user}","gists_url":"https://api.github.com/users/ibaned/gists{/gist_id}","starred_url":"https://api.github.com/users/ibaned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibaned/subscriptions","organizations_url":"https://api.github.com/users/ibaned/orgs","repos_url":"https://api.github.com/users/ibaned/repos","events_url":"https://api.github.com/users/ibaned/events{/privacy}","received_events_url":"https://api.github.com/users/ibaned/received_events","type":"User","site_admin":false},"assignees":[{"login":"ibaned","id":971921,"avatar_url":"https://avatars2.githubusercontent.com/u/971921?v=4","gravatar_id":"","url":"https://api.github.com/users/ibaned","html_url":"https://github.com/ibaned","followers_url":"https://api.github.com/users/ibaned/followers","following_url":"https://api.github.com/users/ibaned/following{/other_user}","gists_url":"https://api.github.com/users/ibaned/gists{/gist_id}","starred_url":"https://api.github.com/users/ibaned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibaned/subscriptions","organizations_url":"https://api.github.com/users/ibaned/orgs","repos_url":"https://api.github.com/users/ibaned/repos","events_url":"https://api.github.com/users/ibaned/events{/privacy}","received_events_url":"https://api.github.com/users/ibaned/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/kokkos/kokkos/milestones/17","html_url":"https://github.com/kokkos/kokkos/milestone/17","labels_url":"https://api.github.com/repos/kokkos/kokkos/milestones/17/labels","id":2978177,"number":17,"title":"2018 April","description":"Stuff do be done by mid April.","creator":{"login":"crtrott","id":9490481,"avatar_url":"https://avatars1.githubusercontent.com/u/9490481?v=4","gravatar_id":"","url":"https://api.github.com/users/crtrott","html_url":"https://github.com/crtrott","followers_url":"https://api.github.com/users/crtrott/followers","following_url":"https://api.github.com/users/crtrott/following{/other_user}","gists_url":"https://api.github.com/users/crtrott/gists{/gist_id}","starred_url":"https://api.github.com/users/crtrott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crtrott/subscriptions","organizations_url":"https://api.github.com/users/crtrott/orgs","repos_url":"https://api.github.com/users/crtrott/repos","events_url":"https://api.github.com/users/crtrott/events{/privacy}","received_events_url":"https://api.github.com/users/crtrott/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":27,"state":"open","created_at":"2017-12-13T19:57:46Z","updated_at":"2018-05-04T15:08:37Z","due_on":"2018-04-15T07:00:00Z","closed_at":null},"comments":2,"created_at":"2017-02-27T21:32:06Z","updated_at":"2018-05-04T18:31:18Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Power of two functions are being used.  Should define them as public free functions conforming to anticipated future C++ standard.\r\n\r\nhttp://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0556r0.html\r\n\r\n```\r\n  template <class T>\r\n    constexpr bool ispow2(T x) noexcept;\r\n  template <class T>\r\n    constexpr T ceilpow2(T x);\r\n  template <class T>\r\n    constexpr T floorpow2(T x) noexcept;\r\n  template <class T>\r\n    constexpr T log2(T x);\r\n```"},"comment":{"url":"https://api.github.com/repos/kokkos/kokkos/issues/comments/386693800","html_url":"https://github.com/kokkos/kokkos/issues/656#issuecomment-386693800","issue_url":"https://api.github.com/repos/kokkos/kokkos/issues/656","id":386693800,"user":{"login":"dalg24","id":296978,"avatar_url":"https://avatars0.githubusercontent.com/u/296978?v=4","gravatar_id":"","url":"https://api.github.com/users/dalg24","html_url":"https://github.com/dalg24","followers_url":"https://api.github.com/users/dalg24/followers","following_url":"https://api.github.com/users/dalg24/following{/other_user}","gists_url":"https://api.github.com/users/dalg24/gists{/gist_id}","starred_url":"https://api.github.com/users/dalg24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalg24/subscriptions","organizations_url":"https://api.github.com/users/dalg24/orgs","repos_url":"https://api.github.com/users/dalg24/repos","events_url":"https://api.github.com/users/dalg24/events{/privacy}","received_events_url":"https://api.github.com/users/dalg24/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T18:31:18Z","updated_at":"2018-05-04T18:31:18Z","author_association":"CONTRIBUTOR","body":"> done in #1601\r\n\r\n@ibaned The `Kokkos::log2` function was not declared as `constexpr`.  That said,  I am not sure how that would work with compiler intrinsic and builtin functions."}}
{"actor":{"display_login":"dalg24"}}