{"action":"created","issue":{"url":"https://api.github.com/repos/markrogoyski/math-php/issues/115","repository_url":"https://api.github.com/repos/markrogoyski/math-php","labels_url":"https://api.github.com/repos/markrogoyski/math-php/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/markrogoyski/math-php/issues/115/comments","events_url":"https://api.github.com/repos/markrogoyski/math-php/issues/115/events","html_url":"https://github.com/markrogoyski/math-php/pull/115","id":174510713,"number":115,"title":"Added the Bisection Method to RootFinding","user":{"login":"jakobsandberg","id":15298645,"avatar_url":"https://avatars.githubusercontent.com/u/15298645?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobsandberg","html_url":"https://github.com/jakobsandberg","followers_url":"https://api.github.com/users/jakobsandberg/followers","following_url":"https://api.github.com/users/jakobsandberg/following{/other_user}","gists_url":"https://api.github.com/users/jakobsandberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobsandberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobsandberg/subscriptions","organizations_url":"https://api.github.com/users/jakobsandberg/orgs","repos_url":"https://api.github.com/users/jakobsandberg/repos","events_url":"https://api.github.com/users/jakobsandberg/events{/privacy}","received_events_url":"https://api.github.com/users/jakobsandberg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-01T12:30:00Z","updated_at":"2016-09-01T21:29:09Z","closed_at":"2016-09-01T15:32:54Z","pull_request":{"url":"https://api.github.com/repos/markrogoyski/math-php/pulls/115","html_url":"https://github.com/markrogoyski/math-php/pull/115","diff_url":"https://github.com/markrogoyski/math-php/pull/115.diff","patch_url":"https://github.com/markrogoyski/math-php/pull/115.patch"},"body":"Included a test and updated the readme"},"comment":{"url":"https://api.github.com/repos/markrogoyski/math-php/issues/comments/244218565","html_url":"https://github.com/markrogoyski/math-php/pull/115#issuecomment-244218565","issue_url":"https://api.github.com/repos/markrogoyski/math-php/issues/115","id":244218565,"user":{"login":"markrogoyski","id":10004372,"avatar_url":"https://avatars.githubusercontent.com/u/10004372?v=3","gravatar_id":"","url":"https://api.github.com/users/markrogoyski","html_url":"https://github.com/markrogoyski","followers_url":"https://api.github.com/users/markrogoyski/followers","following_url":"https://api.github.com/users/markrogoyski/following{/other_user}","gists_url":"https://api.github.com/users/markrogoyski/gists{/gist_id}","starred_url":"https://api.github.com/users/markrogoyski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markrogoyski/subscriptions","organizations_url":"https://api.github.com/users/markrogoyski/orgs","repos_url":"https://api.github.com/users/markrogoyski/repos","events_url":"https://api.github.com/users/markrogoyski/events{/privacy}","received_events_url":"https://api.github.com/users/markrogoyski/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T21:29:09Z","updated_at":"2016-09-01T21:29:09Z","body":"I don't think this case can happen:\r\n```\r\n        if (!($a < $b)) {\r\n            if ($a === $b) {\r\n                throw new \\Exception('Start point and end point of interval\r\n                                        cannot be the same.');\r\n```\r\n\r\nBecause the sign test above would have triggered, correct?\r\n```\r\n        if (Special::sgn($f⟮a⟯) === Special::sgn($f⟮b⟯)) {\r\n            throw new \\Exception('Input function has the same sign at the\r\n                                  start and end of the interval. Choose start\r\n                                  and end points such that the function\r\n                                  evaluated at those points has a different\r\n                                  sign (one positive, one negative).');\r\n```"}}
{"actor":{"display_login":"markrogoyski"}}