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

Reply via email to