{"action":"created","issue":{"url":"https://api.github.com/repos/ldc-developers/ldc/issues/1304","repository_url":"https://api.github.com/repos/ldc-developers/ldc","labels_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1304/labels{/name}","comments_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1304/comments","events_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1304/events","html_url":"https://github.com/ldc-developers/ldc/pull/1304","id":134947021,"number":1304,"title":"Proof-of-concept: Use real_t in front-end for target real type","user":{"login":"kinke","id":1889215,"avatar_url":"https://avatars.githubusercontent.com/u/1889215?v=3","gravatar_id":"","url":"https://api.github.com/users/kinke","html_url":"https://github.com/kinke","followers_url":"https://api.github.com/users/kinke/followers","following_url":"https://api.github.com/users/kinke/following{/other_user}","gists_url":"https://api.github.com/users/kinke/gists{/gist_id}","starred_url":"https://api.github.com/users/kinke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinke/subscriptions","organizations_url":"https://api.github.com/users/kinke/orgs","repos_url":"https://api.github.com/users/kinke/repos","events_url":"https://api.github.com/users/kinke/events{/privacy}","received_events_url":"https://api.github.com/users/kinke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-19T19:00:39Z","updated_at":"2016-02-20T13:23:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ldc-developers/ldc/pulls/1304","html_url":"https://github.com/ldc-developers/ldc/pull/1304","diff_url":"https://github.com/ldc-developers/ldc/pull/1304.diff","patch_url":"https://github.com/ldc-developers/ldc/pull/1304.patch"},"body":"A modified version without hacks should go upstream.\r\nThis is just to prove that the front-end works properly with 80-bit `real_t` for the Travis jobs and with 64-bit `real_t` for the AppVeyor jobs (the latter using dmd to compile the front-end, which therefore features 80-bit reals).\r\n\r\nThere are only 2 remaining occurrences of `real` in the front-end - as potential type for the `real_t` alias and as the return type of the host C function `strtold()` in `ddmd.root.real_t`."},"comment":{"url":"https://api.github.com/repos/ldc-developers/ldc/issues/comments/186595131","html_url":"https://github.com/ldc-developers/ldc/pull/1304#issuecomment-186595131","issue_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1304","id":186595131,"user":{"login":"kinke","id":1889215,"avatar_url":"https://avatars.githubusercontent.com/u/1889215?v=3","gravatar_id":"","url":"https://api.github.com/users/kinke","html_url":"https://github.com/kinke","followers_url":"https://api.github.com/users/kinke/followers","following_url":"https://api.github.com/users/kinke/following{/other_user}","gists_url":"https://api.github.com/users/kinke/gists{/gist_id}","starred_url":"https://api.github.com/users/kinke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinke/subscriptions","organizations_url":"https://api.github.com/users/kinke/orgs","repos_url":"https://api.github.com/users/kinke/repos","events_url":"https://api.github.com/users/kinke/events{/privacy}","received_events_url":"https://api.github.com/users/kinke/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T13:23:15Z","updated_at":"2016-02-20T13:23:15Z","body":"> The idea of real_t is not to encapsulate real, but all fp types.\r\n\r\nWould it be enough to rename the `TargetReal` struct to `TargetFP` and add 2 `bool isFloat32/64LiteralOutOfRange(string)` functions, or would we need `float_t` and `double_t` types as well?"}}