{"action":"created","issue":{"url":"https://api.github.com/repos/rust-num/num-traits/issues/61","repository_url":"https://api.github.com/repos/rust-num/num-traits","labels_url":"https://api.github.com/repos/rust-num/num-traits/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/rust-num/num-traits/issues/61/comments","events_url":"https://api.github.com/repos/rust-num/num-traits/issues/61/events","html_url":"https://github.com/rust-num/num-traits/pull/61","id":312923114,"number":61,"title":"Use constant for 180/π in f32::to_degrees","user":{"login":"vks","id":33460,"avatar_url":"https://avatars2.githubusercontent.com/u/33460?v=4","gravatar_id":"","url":"https://api.github.com/users/vks","html_url":"https://github.com/vks","followers_url":"https://api.github.com/users/vks/followers","following_url":"https://api.github.com/users/vks/following{/other_user}","gists_url":"https://api.github.com/users/vks/gists{/gist_id}","starred_url":"https://api.github.com/users/vks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vks/subscriptions","organizations_url":"https://api.github.com/users/vks/orgs","repos_url":"https://api.github.com/users/vks/repos","events_url":"https://api.github.com/users/vks/events{/privacy}","received_events_url":"https://api.github.com/users/vks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-10T13:30:23Z","updated_at":"2018-05-04T19:27:21Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-num/num-traits/pulls/61","html_url":"https://github.com/rust-num/num-traits/pull/61","diff_url":"https://github.com/rust-num/num-traits/pull/61.diff","patch_url":"https://github.com/rust-num/num-traits/pull/61.patch"},"body":"The current `f32::to_degrees` implementation uses a division to\r\ncalculate 180/π, which causes a loss of precision. Using a constant is\r\nstill not perfect (implementing a maximally-precise algorithm would come\r\nwith a high performance cost), but improves precision with a minimal\r\nchange.\r\n\r\nThis is a backport from [`std`].\r\n\r\n[`std`]: https://github.com/rust-lang/rust/pull/47919/commits/e34c31bf02eb0f0ff4dd43ae72e0eae53f2ac519"},"comment":{"url":"https://api.github.com/repos/rust-num/num-traits/issues/comments/386708642","html_url":"https://github.com/rust-num/num-traits/pull/61#issuecomment-386708642","issue_url":"https://api.github.com/repos/rust-num/num-traits/issues/61","id":386708642,"user":{"login":"vks","id":33460,"avatar_url":"https://avatars2.githubusercontent.com/u/33460?v=4","gravatar_id":"","url":"https://api.github.com/users/vks","html_url":"https://github.com/vks","followers_url":"https://api.github.com/users/vks/followers","following_url":"https://api.github.com/users/vks/following{/other_user}","gists_url":"https://api.github.com/users/vks/gists{/gist_id}","starred_url":"https://api.github.com/users/vks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vks/subscriptions","organizations_url":"https://api.github.com/users/vks/orgs","repos_url":"https://api.github.com/users/vks/repos","events_url":"https://api.github.com/users/vks/events{/privacy}","received_events_url":"https://api.github.com/users/vks/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T19:27:21Z","updated_at":"2018-05-04T19:27:21Z","author_association":"CONTRIBUTOR","body":"Thanks for the fix! I forgot about this PR..."}}
{"actor":{"display_login":"vks"}}