colomon: rakudo: say 5.Num.sin('degrees');
p6eval: rakudo 446d49: OUTPUT«too many arguments passed (2) - 1 param
expectedin Main (/tmp/ikAjKOkV3I:2)»
colomon: rakudo: say 5.0.sin('degrees');
p6eval: rakudo 446d49: OUTPUT«0.0871557427476582»
colomon: rakudo: say (5 * 1.0).sin('degrees');
p6eval: rakudo 446d49: OUTPUT«too many arguments passed (2) - 1 param
expectedin Main (/tmp/DZhXZHeJmV:2)»
--
Solomon Foster: col...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
Right, and I'm pretty sure I remember you showing me that back when
you fixed this bug two weeks ago. :)
Did you see the conversation I had with Moritz on the the similar
Complex problem on #perl6 yesterday? No rush whatsoever, I think your
PGE stuff is more important, and besides, I could use a few days where
working on Rakudo trig functions isn't stealing time from my $work.
(Rakudo is much more -Ofun than my $work is at the moment.)
Yes, I did see that. My suggestion at this point is for Rakudo
to make its own Complex class in the setting (similar to what has
been done for Rat), instead of attempting to inherit from Parrot's
built-in Complex PMC. We can delegate some operations to Parrot's
Complex PMC if that's more convenient, but it just feels as though
having a pure p6 implementation of Complex will be a lot more useful
and easier to maintain at this point.
Pm
Yes, I think there are enough trig tests these days. :)
Thanks for cleaning these up.