Oh, thanks, now it makes sense.

On Wed, Oct 14, 2020 at 12:01 PM Brian Duggan <bdug...@matatu.org> wrote:

> On Wednesday, October 14, Aureliano Guedes wrote:
> > In this point, the unique weirdness I'd like to understand is why in Raku
> > `@nums.log == 2.302585092994046e0`. I don't understand where this value
> > comes from.
>
> This comes from the length of the array; the array is coerced into a
> numeric
> value:
>
>   > my @nums = 1..10
>   [1 2 3 4 5 6 7 8 9 10]
>   > @nums.log
>   2.302585092994046
>   > @nums.Numeric.log
>   2.302585092994046
>   > 10.log
>   2.302585092994046
>
> Brian
>


-- 
Aureliano Guedes
skype: aureliano.guedes
contato:  (11) 94292-6110
whatsapp +5511942926110

Reply via email to