Hi Tom, On Tue, Mar 17, 2015 at 12:52:42PM -0500, Tom Browder wrote: > Those two functions are documented here: > > http://design.perl6.org/S32/Numeric.html#Trigonometric_functions > > but I have tried to use them with no luck: > > say 10.to-radians(Degrees); > > Undeclared name: > Degrees used at line 9 > > So how does one use the two functions?
it seems that to-radians() is specified, but not yet implemented in Rakudo (see, for example line 71 in https://github.com/perl6/roast/blob/master/S32-num/cool-num.t; the test is skipped for Rakudo). BTW: doc.perl6.org is a good resource for documentation of the currently implemented parts of the spec. The written spec has also come to mean "speculation" rather than "specification". The specification is basically the roast test suite at present. Hope that helps, Paul