On Fri, 21 Feb 2020 at 13:31, ToddAndMargo via perl6-users <
perl6-us...@perl.org> wrote:

> $ perl6 -e 'say sqrt(2).base-repeating();'
> No such method 'base-repeating' for invocant of type 'Num'
>    in block <unit> at -e line 1
>

perl6 -e 'say sqrt(2).Rat.base-repeating();'
(1.4
14213197969543147208121827411167512690355329949238578680203045685279187817258883248730964467005076)

-- 
Norman Gaywood, Computer Systems Officer
School of Science and Technology
University of New England
Armidale NSW 2351, Australia

ngayw...@une.edu.au  http://turing.une.edu.au/~ngaywood
Phone: +61 (0)2 6773 2412  Mobile: +61 (0)4 7862 0062

Please avoid sending me Word or Power Point attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Reply via email to