{"action":"created","issue":{"url":"https://api.github.com/repos/z2oh/sexe/issues/7","repository_url":"https://api.github.com/repos/z2oh/sexe","labels_url":"https://api.github.com/repos/z2oh/sexe/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/z2oh/sexe/issues/7/comments","events_url":"https://api.github.com/repos/z2oh/sexe/issues/7/events","html_url":"https://github.com/z2oh/sexe/issues/7","id":365658075,"node_id":"MDU6SXNzdWUzNjU2NTgwNzU=","number":7,"title":"Add log2 function","user":{"login":"z2oh","id":385684,"node_id":"MDQ6VXNlcjM4NTY4NA==","avatar_url":"https://avatars3.githubusercontent.com/u/385684?v=4","gravatar_id":"","url":"https://api.github.com/users/z2oh","html_url":"https://github.com/z2oh","followers_url":"https://api.github.com/users/z2oh/followers","following_url":"https://api.github.com/users/z2oh/following{/other_user}","gists_url":"https://api.github.com/users/z2oh/gists{/gist_id}","starred_url":"https://api.github.com/users/z2oh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z2oh/subscriptions","organizations_url":"https://api.github.com/users/z2oh/orgs","repos_url":"https://api.github.com/users/z2oh/repos","events_url":"https://api.github.com/users/z2oh/events{/privacy}","received_events_url":"https://api.github.com/users/z2oh/received_events","type":"User","site_admin":false},"labels":[{"id":1075486381,"node_id":"MDU6TGFiZWwxMDc1NDg2Mzgx","url":"https://api.github.com/repos/z2oh/sexe/labels/easy","name":"easy","color":"25f736","default":false},{"id":1075486109,"node_id":"MDU6TGFiZWwxMDc1NDg2MTA5","url":"https://api.github.com/repos/z2oh/sexe/labels/hacktoberfest","name":"hacktoberfest","color":"fda366","default":false},{"id":619548581,"node_id":"MDU6TGFiZWw2MTk1NDg1ODE=","url":"https://api.github.com/repos/z2oh/sexe/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-01T21:52:37Z","updated_at":"2018-10-01T22:18:33Z","closed_at":null,"author_association":"OWNER","body":"A common function that one may wish to use is the log2 function. The log2 function computes the logarithm base 2 of some number.\r\n\r\nFor example:\r\n`log2(2) = 1`\r\n`log2(8) = 3`\r\n`log2(0.5) = -1`\r\n`log2(1.5) ~= 0.584963`\r\n\r\nRust has a log2 function built in on all primitive numeric types. `x.log2()` will evaluate to the logarithm base 2 of `x`.\r\n\r\nYou will need to\r\n* add log2 function to the expression evaluator\r\n* add support for parsing `log2` as a unary function\r\n\r\nPlease note that log2 is not defined for non-positive numbers, so if the lower bound is 0 or below the program will crash. Don't worry about this for now, error handling will be added at a future date.\r\n\r\nAs an example, check out this commit where I added the tan function: 865d2221e7d29af6db2d9e9c31377932712156d6\r\n\r\nIf you are participating in hacktoberfest, please comment on this issue claiming it so others don't try to do the same work! Thank you!"},"comment":{"url":"https://api.github.com/repos/z2oh/sexe/issues/comments/426083044","html_url":"https://github.com/z2oh/sexe/issues/7#issuecomment-426083044","issue_url":"https://api.github.com/repos/z2oh/sexe/issues/7","id":426083044,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjA4MzA0NA==","user":{"login":"z2oh","id":385684,"node_id":"MDQ6VXNlcjM4NTY4NA==","avatar_url":"https://avatars3.githubusercontent.com/u/385684?v=4","gravatar_id":"","url":"https://api.github.com/users/z2oh","html_url":"https://github.com/z2oh","followers_url":"https://api.github.com/users/z2oh/followers","following_url":"https://api.github.com/users/z2oh/following{/other_user}","gists_url":"https://api.github.com/users/z2oh/gists{/gist_id}","starred_url":"https://api.github.com/users/z2oh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z2oh/subscriptions","organizations_url":"https://api.github.com/users/z2oh/orgs","repos_url":"https://api.github.com/users/z2oh/repos","events_url":"https://api.github.com/users/z2oh/events{/privacy}","received_events_url":"https://api.github.com/users/z2oh/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T22:18:33Z","updated_at":"2018-10-01T22:18:33Z","author_association":"OWNER","body":"@rtroxler Go for it!"}}
{"actor":{"display_login":"z2oh"}}