{"action":"created","issue":{"url":"https://api.github.com/repos/alkis/decimal/issues/21","repository_url":"https://api.github.com/repos/alkis/decimal","labels_url":"https://api.github.com/repos/alkis/decimal/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/alkis/decimal/issues/21/comments","events_url":"https://api.github.com/repos/alkis/decimal/issues/21/events","html_url":"https://github.com/alkis/decimal/issues/21","id":177493117,"number":21,"title":"Implement num traits for d128","user":{"login":"eugene-bulkin","id":3990681,"avatar_url":"https://avatars.githubusercontent.com/u/3990681?v=3","gravatar_id":"","url":"https://api.github.com/users/eugene-bulkin","html_url":"https://github.com/eugene-bulkin","followers_url":"https://api.github.com/users/eugene-bulkin/followers","following_url":"https://api.github.com/users/eugene-bulkin/following{/other_user}","gists_url":"https://api.github.com/users/eugene-bulkin/gists{/gist_id}","starred_url":"https://api.github.com/users/eugene-bulkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugene-bulkin/subscriptions","organizations_url":"https://api.github.com/users/eugene-bulkin/orgs","repos_url":"https://api.github.com/users/eugene-bulkin/repos","events_url":"https://api.github.com/users/eugene-bulkin/events{/privacy}","received_events_url":"https://api.github.com/users/eugene-bulkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-16T18:42:46Z","updated_at":"2016-09-26T23:11:41Z","closed_at":null,"body":"Would it be possible to implement the `Float`, `Zero` and `One` traits from the `num` crate? I know some other libraries (e.g. `nalgebra`) use these as trait requirements for doing calculations, so implementing them for `d128` means we can use the struct in other crates that require such traits.\r\n\r\nNamely, this requires implementing all the trig functions and some extra math ones. I can see `integer_decode` and `classify` being tough to implement, though."},"comment":{"url":"https://api.github.com/repos/alkis/decimal/issues/comments/249724207","html_url":"https://github.com/alkis/decimal/issues/21#issuecomment-249724207","issue_url":"https://api.github.com/repos/alkis/decimal/issues/21","id":249724207,"user":{"login":"alkis","id":265981,"avatar_url":"https://avatars.githubusercontent.com/u/265981?v=3","gravatar_id":"","url":"https://api.github.com/users/alkis","html_url":"https://github.com/alkis","followers_url":"https://api.github.com/users/alkis/followers","following_url":"https://api.github.com/users/alkis/following{/other_user}","gists_url":"https://api.github.com/users/alkis/gists{/gist_id}","starred_url":"https://api.github.com/users/alkis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkis/subscriptions","organizations_url":"https://api.github.com/users/alkis/orgs","repos_url":"https://api.github.com/users/alkis/repos","events_url":"https://api.github.com/users/alkis/events{/privacy}","received_events_url":"https://api.github.com/users/alkis/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T23:11:41Z","updated_at":"2016-09-26T23:11:41Z","body":"It would but it seems like a lot of work. Is there a use case for it? Maybe you want to provide a PR?"}}
{"actor":{"display_login":"alkis"}}