Talk:Isqrt (integer square root) of X: Difference between revisions

From Rosetta Code
Content added Content deleted
m (→‎Some Languages...: commented out a section of talk code that no longer applies..)
(→‎Mathematica: new section)
Line 32: Line 32:


:Update: added qr algo to Raku entry. --[[User:Enter your username|Enter your username]] ([[User talk:Enter your username|talk]]) 22:28, 9 December 2020 (UTC)
:Update: added qr algo to Raku entry. --[[User:Enter your username|Enter your username]] ([[User talk:Enter your username|talk]]) 22:28, 9 December 2020 (UTC)

== Mathematica ==

Its output is incorrect (n=0 absent) ...--[[User:Billymacc|Billymacc]] ([[User talk:Billymacc|talk]]) 15:05, 17 February 2022 (UTC)

Revision as of 15:05, 17 February 2022

Some Languages...

...aren't implementing the quadratic residue algorithm. I fixed a couple (perhaps clumsily) and marked Seed7 as bad (it uses the built-in sqrt() function). Raku is also wrong, as it links to another sqrt task which doesn't utilize the qr algo.

Just a reminder, the task is not to compute square roots in any way, it is to implement the quadratic residue method of computing the square root. --Enter your username (talk) 09:33, 9 December 2020 (UTC)


Update: added qr algo to Raku entry. --Enter your username (talk) 22:28, 9 December 2020 (UTC)

Mathematica

Its output is incorrect (n=0 absent) ...--Billymacc (talk) 15:05, 17 February 2022 (UTC)