{"push_id":1392323174,"size":1,"distinct_size":1,"ref":"refs/heads/nom","head":"729d7e34124827a4e0b772b049be95cf911dd7cf","before":"a581bf415c4344b8cdea21e3b05509f8b6cd56a0","commits":[{"sha":"729d7e34124827a4e0b772b049be95cf911dd7cf","author":{"name":"Zoffix Znet","email":"7b79fd10ba3b05af037554ff5dbc6a3aa64d2964@zoffix.com"},"message":"Prevent overflow when creating large Num literals\n\nThe current calculation converts the \"base\" number to one without fractional\nparts, raises it to \"e\" power, and then divides it by however many powers of\n10 it took to make it fractionless. So 1.23e10 gets converted to 123, multiplied\nby 10**10 and then divided by 100. This causes the calculation to blow through\nthe limit and get an Inf before the final division happens, even though we do have\nenough space to represent the final number.\n\nFix by dividing *before* multiplying by the powers of 10.\n\nFixes RT#130039: https://rt.perl.org/Ticket/Display.html?id=130039","distinct":true,"url":"https://api.github.com/repos/rakudo/rakudo/commits/729d7e34124827a4e0b772b049be95cf911dd7cf"}]}
{"actor":{"display_login":"zoffixznet"}}