{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4132","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4132/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4132/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4132/events","html_url":"https://github.com/HaxeFoundation/haxe/pull/4132","id":66210137,"number":4132,"title":"add more parseFloat parseInt failing tests","user":{"login":"exFalso","id":1042674,"avatar_url":"https://avatars.githubusercontent.com/u/1042674?v=3","gravatar_id":"","url":"https://api.github.com/users/exFalso","html_url":"https://github.com/exFalso","followers_url":"https://api.github.com/users/exFalso/followers","following_url":"https://api.github.com/users/exFalso/following{/other_user}","gists_url":"https://api.github.com/users/exFalso/gists{/gist_id}","starred_url":"https://api.github.com/users/exFalso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exFalso/subscriptions","organizations_url":"https://api.github.com/users/exFalso/orgs","repos_url":"https://api.github.com/users/exFalso/repos","events_url":"https://api.github.com/users/exFalso/events{/privacy}","received_events_url":"https://api.github.com/users/exFalso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-04-03T19:08:48Z","updated_at":"2015-04-04T16:04:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/4132","html_url":"https://github.com/HaxeFoundation/haxe/pull/4132","diff_url":"https://github.com/HaxeFoundation/haxe/pull/4132.diff","patch_url":"https://github.com/HaxeFoundation/haxe/pull/4132.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/89604937","html_url":"https://github.com/HaxeFoundation/haxe/pull/4132#issuecomment-89604937","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4132","id":89604937,"user":{"login":"ncannasse","id":1022912,"avatar_url":"https://avatars.githubusercontent.com/u/1022912?v=3","gravatar_id":"","url":"https://api.github.com/users/ncannasse","html_url":"https://github.com/ncannasse","followers_url":"https://api.github.com/users/ncannasse/followers","following_url":"https://api.github.com/users/ncannasse/following{/other_user}","gists_url":"https://api.github.com/users/ncannasse/gists{/gist_id}","starred_url":"https://api.github.com/users/ncannasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncannasse/subscriptions","organizations_url":"https://api.github.com/users/ncannasse/orgs","repos_url":"https://api.github.com/users/ncannasse/repos","events_url":"https://api.github.com/users/ncannasse/events{/privacy}","received_events_url":"https://api.github.com/users/ncannasse/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T16:04:48Z","updated_at":"2015-04-04T16:04:48Z","body":"The promise of Haxe is to keep native speed as much as possible, and if we managed to do that it's because we are not overspecifying the way things works. If people want 100% consistency, they should use a VM that guarantee such thing.\r\n\r\nIn some cases the inconsistencies becomes so much hard to deal with for the end user that we indeed switched to a pure haxe implementation (in the case of Xml parsing for instance). But in the general case, we should clearly specify what is supposed to work (I'm fine including all accepted formats regexps in parseInt/parseFloat documentation), and leave the other cases unspecified.\r\n\r\nWe could however give some guarantees such as \"unspecified formats might return an invalid value or 0/NaN, but will not throw an exception\"\r\n"}}