{"action":"opened","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/12015","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/12015/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12015/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/12015/events","html_url":"https://github.com/JuliaLang/julia/issues/12015","id":93065672,"number":12015,"title":"Typo in DomainError message","user":{"login":"oversky","id":1219271,"avatar_url":"https://avatars.githubusercontent.com/u/1219271?v=3","gravatar_id":"","url":"https://api.github.com/users/oversky","html_url":"https://github.com/oversky","followers_url":"https://api.github.com/users/oversky/followers","following_url":"https://api.github.com/users/oversky/following{/other_user}","gists_url":"https://api.github.com/users/oversky/gists{/gist_id}","starred_url":"https://api.github.com/users/oversky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oversky/subscriptions","organizations_url":"https://api.github.com/users/oversky/orgs","repos_url":"https://api.github.com/users/oversky/repos","events_url":"https://api.github.com/users/oversky/events{/privacy}","received_events_url":"https://api.github.com/users/oversky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-05T01:39:35Z","updated_at":"2015-07-05T01:39:35Z","closed_at":null,"body":"Julia Version 0.3.10 x86_64-w64-mingw32\r\n\r\nHow to reproduce:\r\njulia> 3^-2\r\nERROR: DomainError\r\nCannot raise an integer x to a negative power -n. Make x a float by adding\r\na zero decimal (e.g. 2.0^-n instead of 2^-n), or write 1/x^n, float(x)^-n, or (x//1)^-n\r\n in power_by_squaring at intfuncs.jl:60 (repeats 2 times)\r\n\r\nI believe (x//1)^-n should be (x/1)^-n.\r\n\r\njulia> (3/1)^-2\r\n0.1111111111111111\r\nIt took me half hour to figure out that \"//\" is a type instead of an operator.\r\n\r\n"}}