Square root: Difference between revisions
Content added Content deleted
(add square root page) |
(0N -> 0n) |
||
Line 3: | Line 3: | ||
The '''square root''' function, generally denoted by <code>%</code>, gets the floating point square root of a given number. |
The '''square root''' function, generally denoted by <code>%</code>, gets the floating point square root of a given number. |
||
The result of square root is undefined for negative numbers, and returns <code> |
The result of square root is undefined for negative numbers, and returns <code>0n</code>. |
||
The square root primitive is [[Atomicity|right atomic.]]<pre> |
The square root primitive is [[Atomicity|right atomic.]]<pre> |
Revision as of 01:51, 13 July 2021
Square root
%x
The square root function, generally denoted by %
, gets the floating point square root of a given number.
The result of square root is undefined for negative numbers, and returns 0n
.
The square root primitive is right atomic.
%4 2.0 %5 7 9 2.23606797749979 2.6457513110645907 3.0 %-20 0n %(22 45;(67;(99;-1))) (4.69041575982343 6.708203932499369 (8.18535277187245;9.9498743710662 0n))