{"action":"created","issue":{"url":"https://api.github.com/repos/galculator/galculator/issues/2","labels_url":"https://api.github.com/repos/galculator/galculator/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/galculator/galculator/issues/2/comments","events_url":"https://api.github.com/repos/galculator/galculator/issues/2/events","html_url":"https://github.com/galculator/galculator/issues/2","id":109820342,"number":2,"title":"Rounding problem.","user":{"login":"aleamb","id":2448975,"avatar_url":"https://avatars.githubusercontent.com/u/2448975?v=3","gravatar_id":"","url":"https://api.github.com/users/aleamb","html_url":"https://github.com/aleamb","followers_url":"https://api.github.com/users/aleamb/followers","following_url":"https://api.github.com/users/aleamb/following{/other_user}","gists_url":"https://api.github.com/users/aleamb/gists{/gist_id}","starred_url":"https://api.github.com/users/aleamb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleamb/subscriptions","organizations_url":"https://api.github.com/users/aleamb/orgs","repos_url":"https://api.github.com/users/aleamb/repos","events_url":"https://api.github.com/users/aleamb/events{/privacy}","received_events_url":"https://api.github.com/users/aleamb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-05T15:18:56Z","updated_at":"2015-10-06T11:07:13Z","closed_at":null,"body":"Hi.\r\n\r\nWith galculator compiled today from master branch, i have this issue:\r\n\r\nOn operation 0.1 + 0.2 - 0.3, decimal mode, rad mode, ALG and formula modes, locale es_ES, result is:\r\n\r\n2,77555756156e-17\r\n\r\nThis doesn't happen in rpn mode and it doesn't seem to happen in paper mode either\r\n\r\nOS Windows 7 64 bit and Debian GNU/Linux Kernel 4.2.3 libc6 and gtk3\r\n\r\nOn Windows 7, compiled with MSYS (mingw-64)\r\n\r\nOn Linux, compiled with gcc 4.7.2\r\n\r\nRegards.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/galculator/galculator/issues/comments/145823643","html_url":"https://github.com/galculator/galculator/issues/2#issuecomment-145823643","issue_url":"https://api.github.com/repos/galculator/galculator/issues/2","id":145823643,"user":{"login":"galculator","id":14138608,"avatar_url":"https://avatars.githubusercontent.com/u/14138608?v=3","gravatar_id":"","url":"https://api.github.com/users/galculator","html_url":"https://github.com/galculator","followers_url":"https://api.github.com/users/galculator/followers","following_url":"https://api.github.com/users/galculator/following{/other_user}","gists_url":"https://api.github.com/users/galculator/gists{/gist_id}","starred_url":"https://api.github.com/users/galculator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galculator/subscriptions","organizations_url":"https://api.github.com/users/galculator/orgs","repos_url":"https://api.github.com/users/galculator/repos","events_url":"https://api.github.com/users/galculator/events{/privacy}","received_events_url":"https://api.github.com/users/galculator/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T11:07:13Z","updated_at":"2015-10-06T11:07:13Z","body":"Hi, \r\nthank you for your detailed report. The erroneous result is to be expected though. All three numbers can't be represented exactly as finite binary numbers. As all computations on a computer are done in binary number representations, the result is not exact.\r\nHowever, I get consistent results in ALG, formula, RPN and paper mode on recent Ubuntu. Can you please check again if RPN and paper mode yields different results?\r\nbest"}}