{"action":"created","issue":{"url":"https://api.github.com/repos/ocsigen/js_of_ocaml/issues/255","labels_url":"https://api.github.com/repos/ocsigen/js_of_ocaml/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/ocsigen/js_of_ocaml/issues/255/comments","events_url":"https://api.github.com/repos/ocsigen/js_of_ocaml/issues/255/events","html_url":"https://github.com/ocsigen/js_of_ocaml/issues/255","id":59781748,"number":255,"title":"Math.imul on stdlib.js was not properly evaluated in browserless Javascript engine","user":{"login":"jmineraud","id":6813985,"avatar_url":"https://avatars.githubusercontent.com/u/6813985?v=3","gravatar_id":"","url":"https://api.github.com/users/jmineraud","html_url":"https://github.com/jmineraud","followers_url":"https://api.github.com/users/jmineraud/followers","following_url":"https://api.github.com/users/jmineraud/following{/other_user}","gists_url":"https://api.github.com/users/jmineraud/gists{/gist_id}","starred_url":"https://api.github.com/users/jmineraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmineraud/subscriptions","organizations_url":"https://api.github.com/users/jmineraud/orgs","repos_url":"https://api.github.com/users/jmineraud/repos","events_url":"https://api.github.com/users/jmineraud/events{/privacy}","received_events_url":"https://api.github.com/users/jmineraud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-04T10:54:58Z","updated_at":"2015-03-23T10:37:43Z","closed_at":null,"body":"Hi,\r\n\r\nI have noticed when executing Javascript code produced by JSOO with the Duktape ECMAScript engine that Math.imul was not declared properly. By adding the declaration from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul to my script, I was able to fix the issue.\r\n\r\nHowever, it seems that stdlib.js is already trying to do the same job, so it might be a bug\r\n\r\nBest Regards"},"comment":{"url":"https://api.github.com/repos/ocsigen/js_of_ocaml/issues/comments/84939527","html_url":"https://github.com/ocsigen/js_of_ocaml/issues/255#issuecomment-84939527","issue_url":"https://api.github.com/repos/ocsigen/js_of_ocaml/issues/255","id":84939527,"user":{"login":"vouillon","id":2060632,"avatar_url":"https://avatars.githubusercontent.com/u/2060632?v=3","gravatar_id":"","url":"https://api.github.com/users/vouillon","html_url":"https://github.com/vouillon","followers_url":"https://api.github.com/users/vouillon/followers","following_url":"https://api.github.com/users/vouillon/following{/other_user}","gists_url":"https://api.github.com/users/vouillon/gists{/gist_id}","starred_url":"https://api.github.com/users/vouillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vouillon/subscriptions","organizations_url":"https://api.github.com/users/vouillon/orgs","repos_url":"https://api.github.com/users/vouillon/repos","events_url":"https://api.github.com/users/vouillon/events{/privacy}","received_events_url":"https://api.github.com/users/vouillon/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T10:37:43Z","updated_at":"2015-03-23T10:37:43Z","body":"Our function does not give the right result when the second argument is not an integer. Maybe that's the issue here. Though I don't really understand why it would be called with non-integer arguments."}}