{"action":"created","issue":{"url":"https://api.github.com/repos/Denixprog/GitSqrt/issues/1","repository_url":"https://api.github.com/repos/Denixprog/GitSqrt","labels_url":"https://api.github.com/repos/Denixprog/GitSqrt/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Denixprog/GitSqrt/issues/1/comments","events_url":"https://api.github.com/repos/Denixprog/GitSqrt/issues/1/events","html_url":"https://github.com/Denixprog/GitSqrt/issues/1","id":151042658,"number":1,"title":"Проверка лабы №2","user":{"login":"Denixprog","id":17180024,"avatar_url":"https://avatars.githubusercontent.com/u/17180024?v=3","gravatar_id":"","url":"https://api.github.com/users/Denixprog","html_url":"https://github.com/Denixprog","followers_url":"https://api.github.com/users/Denixprog/followers","following_url":"https://api.github.com/users/Denixprog/following{/other_user}","gists_url":"https://api.github.com/users/Denixprog/gists{/gist_id}","starred_url":"https://api.github.com/users/Denixprog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Denixprog/subscriptions","organizations_url":"https://api.github.com/users/Denixprog/orgs","repos_url":"https://api.github.com/users/Denixprog/repos","events_url":"https://api.github.com/users/Denixprog/events{/privacy}","received_events_url":"https://api.github.com/users/Denixprog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-26T05:05:56Z","updated_at":"2016-05-01T17:51:40Z","closed_at":null,"body":"Готово.\r\n\r\nTo: @evgeny-p\r\n"},"comment":{"url":"https://api.github.com/repos/Denixprog/GitSqrt/issues/comments/216058654","html_url":"https://github.com/Denixprog/GitSqrt/issues/1#issuecomment-216058654","issue_url":"https://api.github.com/repos/Denixprog/GitSqrt/issues/1","id":216058654,"user":{"login":"evgeny-p","id":2580154,"avatar_url":"https://avatars.githubusercontent.com/u/2580154?v=3","gravatar_id":"","url":"https://api.github.com/users/evgeny-p","html_url":"https://github.com/evgeny-p","followers_url":"https://api.github.com/users/evgeny-p/followers","following_url":"https://api.github.com/users/evgeny-p/following{/other_user}","gists_url":"https://api.github.com/users/evgeny-p/gists{/gist_id}","starred_url":"https://api.github.com/users/evgeny-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgeny-p/subscriptions","organizations_url":"https://api.github.com/users/evgeny-p/orgs","repos_url":"https://api.github.com/users/evgeny-p/repos","events_url":"https://api.github.com/users/evgeny-p/events{/privacy}","received_events_url":"https://api.github.com/users/evgeny-p/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T17:51:40Z","updated_at":"2016-05-01T17:51:40Z","body":"1. Для кодов возврата заведены именованные константы (макросы). Но используются они только в вызывающем коде, а в вычислительной функции возвращаются числа. Идея использования именованных констант в том, чтобы абстрагироваться от из фактических значений. Чтобы назначение стало более очевидным — п. 2.\r\n\r\n1. Давайте сделаем разные сообщения пользователю для случаев:\r\n  * Корни отсутствуют из-за отрицательного дискриминанта.\r\n  * Некорректные коэффициенты."}}