{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/llilc/issues/823","labels_url":"https://api.github.com/repos/dotnet/llilc/issues/823/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/llilc/issues/823/comments","events_url":"https://api.github.com/repos/dotnet/llilc/issues/823/events","html_url":"https://github.com/dotnet/llilc/pull/823","id":104965867,"number":823,"title":"Make float to int conversion more determined.","user":{"login":"richardlford","id":6829071,"avatar_url":"https://avatars.githubusercontent.com/u/6829071?v=3","gravatar_id":"","url":"https://api.github.com/users/richardlford","html_url":"https://github.com/richardlford","followers_url":"https://api.github.com/users/richardlford/followers","following_url":"https://api.github.com/users/richardlford/following{/other_user}","gists_url":"https://api.github.com/users/richardlford/gists{/gist_id}","starred_url":"https://api.github.com/users/richardlford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardlford/subscriptions","organizations_url":"https://api.github.com/users/richardlford/orgs","repos_url":"https://api.github.com/users/richardlford/repos","events_url":"https://api.github.com/users/richardlford/events{/privacy}","received_events_url":"https://api.github.com/users/richardlford/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/llilc/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-04T20:39:59Z","updated_at":"2015-09-04T21:14:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/llilc/pulls/823","html_url":"https://github.com/dotnet/llilc/pull/823","diff_url":"https://github.com/dotnet/llilc/pull/823.diff","patch_url":"https://github.com/dotnet/llilc/pull/823.patch"},"body":"The ECMA-335 spec says that for unchecked floating point to\r\ninteger conversion, that if there is overflow then the result\r\nis unspecified. However for compatibility with other jits\r\nwe make the result more deterministic. If the target\r\nbit size is less than 64 we first convert to i64 where overflow\r\nis less likely. Then we truncate to the target bit size.\r\n\r\nCloses #808 and allows test\r\n\\JIT\\Regression\\CLR-x86-JIT\\V1-M10\\b05617\\b05617.cmd\r\nto pass."},"comment":{"url":"https://api.github.com/repos/dotnet/llilc/issues/comments/137855214","html_url":"https://github.com/dotnet/llilc/pull/823#issuecomment-137855214","issue_url":"https://api.github.com/repos/dotnet/llilc/issues/823","id":137855214,"user":{"login":"richardlford","id":6829071,"avatar_url":"https://avatars.githubusercontent.com/u/6829071?v=3","gravatar_id":"","url":"https://api.github.com/users/richardlford","html_url":"https://github.com/richardlford","followers_url":"https://api.github.com/users/richardlford/followers","following_url":"https://api.github.com/users/richardlford/following{/other_user}","gists_url":"https://api.github.com/users/richardlford/gists{/gist_id}","starred_url":"https://api.github.com/users/richardlford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardlford/subscriptions","organizations_url":"https://api.github.com/users/richardlford/orgs","repos_url":"https://api.github.com/users/richardlford/repos","events_url":"https://api.github.com/users/richardlford/events{/privacy}","received_events_url":"https://api.github.com/users/richardlford/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T21:14:56Z","updated_at":"2015-09-04T21:14:56Z","body":"P.S. When I ran the formatter locally it changed the indentation of a couple of\r\ncomment lines unrelated to my change.\r\nThis is using the latest formatter binaries so hopefully will check out OK in the lab."}}