{"action":"created","issue":{"url":"https://api.github.com/repos/JeffreySarnoff/ArbNumerics.jl/issues/3","repository_url":"https://api.github.com/repos/JeffreySarnoff/ArbNumerics.jl","labels_url":"https://api.github.com/repos/JeffreySarnoff/ArbNumerics.jl/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/JeffreySarnoff/ArbNumerics.jl/issues/3/comments","events_url":"https://api.github.com/repos/JeffreySarnoff/ArbNumerics.jl/issues/3/events","html_url":"https://github.com/JeffreySarnoff/ArbNumerics.jl/issues/3","id":346052346,"node_id":"MDU6SXNzdWUzNDYwNTIzNDY=","number":3,"title":"Stack overflow if different precisions are multiplied","user":{"login":"saschatimme","id":4854317,"node_id":"MDQ6VXNlcjQ4NTQzMTc=","avatar_url":"https://avatars0.githubusercontent.com/u/4854317?v=4","gravatar_id":"","url":"https://api.github.com/users/saschatimme","html_url":"https://github.com/saschatimme","followers_url":"https://api.github.com/users/saschatimme/followers","following_url":"https://api.github.com/users/saschatimme/following{/other_user}","gists_url":"https://api.github.com/users/saschatimme/gists{/gist_id}","starred_url":"https://api.github.com/users/saschatimme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saschatimme/subscriptions","organizations_url":"https://api.github.com/users/saschatimme/orgs","repos_url":"https://api.github.com/users/saschatimme/repos","events_url":"https://api.github.com/users/saschatimme/events{/privacy}","received_events_url":"https://api.github.com/users/saschatimme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-31T06:31:04Z","updated_at":"2018-07-31T11:55:47Z","closed_at":null,"author_association":"NONE","body":"```julia\r\njulia> using ArbNumerics\r\njulia> ArbFloat{64}(rand()) * ArbFloat{66}(rand())\r\nERROR: StackOverflowError:\r\nStacktrace:\r\n [1] promote_type at ./promotion.jl:221 [inlined]\r\n [2] promote_result(::Type, ::Type, ::Type{ArbFloat{64}}, ::Type{ArbFloat{66}}) at ./promotion.jl:239\r\n ... (the last 2 lines are repeated 79998 more times)\r\n [159999] promote_type at ./promotion.jl:221 [inlined]\r\n```"},"comment":{"url":"https://api.github.com/repos/JeffreySarnoff/ArbNumerics.jl/issues/comments/409193995","html_url":"https://github.com/JeffreySarnoff/ArbNumerics.jl/issues/3#issuecomment-409193995","issue_url":"https://api.github.com/repos/JeffreySarnoff/ArbNumerics.jl/issues/3","id":409193995,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTE5Mzk5NQ==","user":{"login":"JeffreySarnoff","id":1682118,"node_id":"MDQ6VXNlcjE2ODIxMTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1682118?v=4","gravatar_id":"","url":"https://api.github.com/users/JeffreySarnoff","html_url":"https://github.com/JeffreySarnoff","followers_url":"https://api.github.com/users/JeffreySarnoff/followers","following_url":"https://api.github.com/users/JeffreySarnoff/following{/other_user}","gists_url":"https://api.github.com/users/JeffreySarnoff/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffreySarnoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffreySarnoff/subscriptions","organizations_url":"https://api.github.com/users/JeffreySarnoff/orgs","repos_url":"https://api.github.com/users/JeffreySarnoff/repos","events_url":"https://api.github.com/users/JeffreySarnoff/events{/privacy}","received_events_url":"https://api.github.com/users/JeffreySarnoff/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T11:55:47Z","updated_at":"2018-07-31T11:55:47Z","author_association":"OWNER","body":"Yes it is necessary and you should never use the type parameter directly.  You can and should do this: \r\n```julia\r\njulia> a = ArbFloat(2, 25)\r\n2.000000\r\n\r\njulia> b = ArbFloat(a, 50)\r\n2.00000000000000\r\n```\r\nworks for ArbReal and ArbComplex too"}}
{"actor":{"display_login":"JeffreySarnoff"}}