{"action":"created","issue":{"url":"https://api.github.com/repos/wolfgangj/bone-lisp/issues/12","repository_url":"https://api.github.com/repos/wolfgangj/bone-lisp","labels_url":"https://api.github.com/repos/wolfgangj/bone-lisp/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/wolfgangj/bone-lisp/issues/12/comments","events_url":"https://api.github.com/repos/wolfgangj/bone-lisp/issues/12/events","html_url":"https://github.com/wolfgangj/bone-lisp/pull/12","id":165409348,"number":12,"title":"initial support for floating-point numbers","user":{"login":"dubek","id":9211,"avatar_url":"https://avatars.githubusercontent.com/u/9211?v=3","gravatar_id":"","url":"https://api.github.com/users/dubek","html_url":"https://github.com/dubek","followers_url":"https://api.github.com/users/dubek/followers","following_url":"https://api.github.com/users/dubek/following{/other_user}","gists_url":"https://api.github.com/users/dubek/gists{/gist_id}","starred_url":"https://api.github.com/users/dubek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dubek/subscriptions","organizations_url":"https://api.github.com/users/dubek/orgs","repos_url":"https://api.github.com/users/dubek/repos","events_url":"https://api.github.com/users/dubek/events{/privacy}","received_events_url":"https://api.github.com/users/dubek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-13T20:06:13Z","updated_at":"2016-07-14T19:10:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wolfgangj/bone-lisp/pulls/12","html_url":"https://github.com/wolfgangj/bone-lisp/pull/12","diff_url":"https://github.com/wolfgangj/bone-lisp/pull/12.diff","patch_url":"https://github.com/wolfgangj/bone-lisp/pull/12.patch"},"body":"Support reading floating-point numbers, printing them and `num->str`\r\nsupport.  Internally, the C `float` is stored in the high 32-bits of an\r\n`any` variable.\r\n\r\nAdded core functions `integer?` and `float?`.\r\n\r\nStill missing support of:\r\n\r\n* reading exponential notation (5.6E10, -7.8E-9)\r\n* comparison (=, <, <=, >, >=)\r\n* arithmetic (+, -, *, /)\r\n\r\nNOTE: I wouldn't merge it as-is because floats are quite useless without the arithmetic and comparison. I'm not sure which approach should be taken:\r\n\r\n1. Should `+` work both for int, float or mixed?\r\n2. Should `(=? 123 123.0)` be true?\r\n3. Should we introduce new functions `float=?` , `float+` , etc?\r\n4. Should we add `int->float` and `round` `ceil` `floor` ?\r\n"},"comment":{"url":"https://api.github.com/repos/wolfgangj/bone-lisp/issues/comments/232762940","html_url":"https://github.com/wolfgangj/bone-lisp/pull/12#issuecomment-232762940","issue_url":"https://api.github.com/repos/wolfgangj/bone-lisp/issues/12","id":232762940,"user":{"login":"wolfgangj","id":11925334,"avatar_url":"https://avatars.githubusercontent.com/u/11925334?v=3","gravatar_id":"","url":"https://api.github.com/users/wolfgangj","html_url":"https://github.com/wolfgangj","followers_url":"https://api.github.com/users/wolfgangj/followers","following_url":"https://api.github.com/users/wolfgangj/following{/other_user}","gists_url":"https://api.github.com/users/wolfgangj/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfgangj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfgangj/subscriptions","organizations_url":"https://api.github.com/users/wolfgangj/orgs","repos_url":"https://api.github.com/users/wolfgangj/repos","events_url":"https://api.github.com/users/wolfgangj/events{/privacy}","received_events_url":"https://api.github.com/users/wolfgangj/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T19:10:23Z","updated_at":"2016-07-14T19:10:23Z","body":"How do you plan to implement `/` (division)? Will it always return a float? Return an int if all arguments are ints? Return an int whenever the result actually is an integer?"}}
{"actor":{"display_login":"wolfgangj"}}