Talk:Integer roots
as a test...
Does As a test, you can calculate ··· to be taken literally, or should it be inferred that it is to be the test? The underscoring was added by me. -- Gerard Schildberger (talk) 01:47, 11 May 2016 (UTC)
Do you mean the test is the algorithm to be used, or just a suggestion that that's the method (or a method) to be used? -- Gerard Schildberger (talk) 01:47, 11 May 2016 (UTC)
How should entries handle the case of a zero root? -- Gerard Schildberger (talk) 01:47, 11 May 2016 (UTC)
In the interim, for the REXX computer language entry, I used a general-purpose integer root (of any number) which bypasses the problem of multiplying a number by a gihugeic number to get around the problems with handling a decimal fraction. The numbers being passed to the iRoot function could mimic the suggested method if required.
The REXX entry also handles negative roots, which are allowed by the current task requirements. -- Gerard Schildberger (talk) 01:47, 11 May 2016 (UTC)