# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #67356] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=67356 >
<moritz_> rakudo: my @P = 0.2, 0.5, 0.3; say -[+] @P.map: { $^p * log($^p, 2) } <p6eval> rakudo 70bfd5: OUTPUT«too many arguments passed (2) - 1 params expected [...] <moritz_> rakudo: my @P = 0.2, 0.5, 0.3; say -[+] @P.map: { $^p * log($^p)/log(2) } <p6eval> rakudo 70bfd5: OUTPUT«1.48547529722733» <moritz_> our Num multi method log ( Num $x: Num :$base = Num::e ) is export <moritz_> it *should* work. <masak> bug? :) <moritz_> masak, a job for you! <masak> rakudo: say log(1, 10) <p6eval> rakudo 70bfd5: OUTPUT«too many arguments passed (2) - 1 params expected [...] * masak submits ze rakudobug <jnthn> ooh la la...ze rakudobug <masak> incroyable! <moritz_> log() is not even in the setting yet. <masak> by the way, is this BUG or TODO? <moritz_> a TODO <masak> oh, good. for jnthn, I mean. :) <skids> Just make sure you use log($cabin) in the report. <moritz_> a subset of the specced functionality is already implemented <masak> skids: gotcha. <jnthn> log($that_bug) <masak> .oO( nothing wrong with the -Ofun setting... )