{"action":"created","issue":{"url":"https://api.github.com/repos/mjambon/biniou/issues/13","labels_url":"https://api.github.com/repos/mjambon/biniou/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/mjambon/biniou/issues/13/comments","events_url":"https://api.github.com/repos/mjambon/biniou/issues/13/events","html_url":"https://github.com/mjambon/biniou/issues/13","id":100102806,"number":13,"title":"test_biniou fails on ppc64","user":{"login":"r4f4","id":112756,"avatar_url":"https://avatars.githubusercontent.com/u/112756?v=3","gravatar_id":"","url":"https://api.github.com/users/r4f4","html_url":"https://github.com/r4f4","followers_url":"https://api.github.com/users/r4f4/followers","following_url":"https://api.github.com/users/r4f4/following{/other_user}","gists_url":"https://api.github.com/users/r4f4/gists{/gist_id}","starred_url":"https://api.github.com/users/r4f4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r4f4/subscriptions","organizations_url":"https://api.github.com/users/r4f4/orgs","repos_url":"https://api.github.com/users/r4f4/repos","events_url":"https://api.github.com/users/r4f4/events{/privacy}","received_events_url":"https://api.github.com/users/r4f4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-08-10T16:02:39Z","updated_at":"2015-08-18T20:50:22Z","closed_at":null,"body":"A float comparison fails on ppc64 on line 264 of the test_biniou file. As it can be seen from the log below, I added a print to the respective line in the test and it fails although both numbers seem equal.\r\n\r\n$ ./test_biniou\r\nx = 1.001470  y = 1.001470\r\nFatal error: exception File \"bi_io.ml\", line 265, characters 4-10: Assertion failed"},"comment":{"url":"https://api.github.com/repos/mjambon/biniou/issues/comments/132346895","html_url":"https://github.com/mjambon/biniou/issues/13#issuecomment-132346895","issue_url":"https://api.github.com/repos/mjambon/biniou/issues/13","id":132346895,"user":{"login":"mjambon","id":343265,"avatar_url":"https://avatars.githubusercontent.com/u/343265?v=3","gravatar_id":"","url":"https://api.github.com/users/mjambon","html_url":"https://github.com/mjambon","followers_url":"https://api.github.com/users/mjambon/followers","following_url":"https://api.github.com/users/mjambon/following{/other_user}","gists_url":"https://api.github.com/users/mjambon/gists{/gist_id}","starred_url":"https://api.github.com/users/mjambon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjambon/subscriptions","organizations_url":"https://api.github.com/users/mjambon/orgs","repos_url":"https://api.github.com/users/mjambon/repos","events_url":"https://api.github.com/users/mjambon/events{/privacy}","received_events_url":"https://api.github.com/users/mjambon/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T20:50:22Z","updated_at":"2015-08-18T20:50:22Z","body":"Thanks. That's interesting. It looks like a somewhat limited problem, which would affect folks who hardcode long constants.\r\n\r\nAs a workaround, I can modify the test in `bi_io.ml` so it passes on ppc64, by reading the float from a string at runtime.\r\n\r\nI'm gonna file a report for this bug with the OCaml bug tracker. I'll post the link here."}}