``…/MagickWand.pm6`` :*244*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/AZAWAWI/MagickWand/lib/MagickWand.pm6#L244) |
my $order = @kernel.elems.sqrt.Int;
|
| [ELIZABETH/P5built-ins``…/Changes`` :*10*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5built-ins/Changes#L10) |
- Added support for abs cos crypt exp int log sin sqrt
|
| [ELIZABETH/P5built-ins``…/README.md`` :*30*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5built-ins/README.md#L30) |
shift sin sleep sqrt study substr telldir tie tied times uc ucfirst undef
|
| [ELIZABETH/P5built-ins``…/README.md`` :*57*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5built-ins/README.md#L57) |
P5math \| abs cos crypt exp int log rand sin sqrt
|
| [ELIZABETH/P5built-ins``…/P5built-ins.pm6`` :*86*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5built-ins/lib/P5built-ins.pm6#L86) |
shift sin sleep sqrt study substr telldir tie tied times uc ucfirst undef
|
| [ELIZABETH/P5built-ins``…/P5built-ins.pm6`` :*113*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5built-ins/lib/P5built-ins.pm6#L113) |
P5math \| abs cos crypt exp int log rand sin sqrt
|
| [ELIZABETH/P5built-ins``…/01-basic.t`` :*14*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5built-ins/t/01-basic.t#L14) |
shift sin sleep sqrt study substr telldir tie tied times uc ucfirst undef
|
| [ELIZABETH/P5math``…/README.md`` :*11*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/README.md#L11) |
use P5math; # exports abs cos crypt exp int log rand sin sqrt
|
| [ELIZABETH/P5math``…/README.md`` :*16*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/README.md#L16) |
This module tries to mimic the behaviour of the \`abs\`, \`cos\`, \`crypt\`, \`exp\`, \`int\`, \`log\`, \`rand\`, \`sin\` and \`sqrt\` functions of Perl 5 as closely as possible.
|
| [ELIZABETH/P5math``…/README.md`` :*39*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/README.md#L39) |
sub acos { atan2( sqrt(1 - $\_[0] \* $\_[0]), $\_[0] ) }
|
| [ELIZABETH/P5math``…/README.md`` :*182*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/README.md#L182) |
sub asin { atan2($\_[0], sqrt(1 - $\_[0] \* $\_[0])) }
|
| [ELIZABETH/P5math``…/README.md`` :*184*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/README.md#L184) |
sqrt EXPR
|
| [ELIZABETH/P5math``…/README.md`` :*185*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/README.md#L185) |
sqrt Return the positive square root of EXPR. If EXPR is omitted, uses
|
| [ELIZABETH/P5math``…/README.md`` :*190*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/README.md#L190) |
print sqrt(-4); # prints 2i
|
| [ELIZABETH/P5math``…/P5math.pm6`` :*33*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/lib/P5math.pm6#L33) |
proto sub sqrt(\|) is export {\*}
|
| [ELIZABETH/P5math``…/P5math.pm6`` :*34*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/lib/P5math.pm6#L34) |
multi sub sqrt() { CALLERS::\<$\_\>.sqrt }
|
| [ELIZABETH/P5math``…/P5math.pm6`` :*35*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/lib/P5math.pm6#L35) |
multi sub sqrt(\\value) { value.sqrt }
|
| [ELIZABETH/P5math``…/P5math.pm6`` :*53*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/lib/P5math.pm6#L53) |
use P5math; # exports abs cos crypt exp int log rand sin sqrt
|
| [ELIZABETH/P5math``…/P5math.pm6`` :*58*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/lib/P5math.pm6#L58) |
C\, C\, C\, C\, C\ and C\<sqrt\> functions of Perl 5 as
|
| [ELIZABETH/P5math``…/P5math.pm6`` :*85*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/lib/P5math.pm6#L85) |
sub acos { atan2( sqrt(1 - $\_[0] \* $\_[0]), $\_[0] ) }
|
| [ELIZABETH/P5math``…/P5math.pm6`` :*228*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/lib/P5math.pm6#L228) |
sub asin { atan2($\_[0], sqrt(1 - $\_[0] \* $\_[0])) }
|
| [ELIZABETH/P5math``…/P5math.pm6`` :*230*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/lib/P5math.pm6#L230) |
sqrt EXPR
|
| [ELIZABETH/P5math``…/P5math.pm6`` :*231*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/lib/P5math.pm6#L231) |
sqrt Return the positive square root of EXPR. If EXPR is omitted, uses
|
| [ELIZABETH/P5math``…/P5math.pm6`` :*236*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/lib/P5math.pm6#L236) |
print sqrt(-4); # prints 2i
|
| [ELIZABETH/P5math``…/01-basic.t`` :*8*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/t/01-basic.t#L8) |
for \<\&abs \&cos \&crypt \&exp \&int \&log \&rand \&sin \&sqrt\> -\> $name {
|
| [ELIZABETH/P5math``…/01-basic.t`` :*15*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/ELIZABETH/P5math/t/01-basic.t#L15) |
for \&abs, \&cos, \&exp, \&log, \&sin, \&sqrt -\> \&func {
|
| [HMBRAND/Text-CSV``…/Notes`` :*10*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/HMBRAND/Text-CSV/Notes#L10) |
Num Bridge Int Rat FatRat succ pred isNaN abs log sqrt rand ceiling
|
| [HOLYGHOST/Game-Markov``…/TruncatedGaussian.pm6`` :*10*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/HOLYGHOST/Game-Markov/lib/Game/Markov/TruncatedGaussian.pm6#L10) |
.lambda = ($cmax + sqrt($cmax \* $cmax + 4)) / 2
|
| [HOLYGHOST/Game-Markov``…/TruncatedGaussian.pm6`` :*14*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/HOLYGHOST/Game-Markov/lib/Game/Markov/TruncatedGaussian.pm6#L14) |
sqrt(2 \* PI) \* .lambda \* (1 - .phifunc(c));
|
| [HOLYGHOST/Game-Markov``…/TruncatedGaussian.pm6`` :*21*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/HOLYGHOST/Game-Markov/lib/Game/Markov/TruncatedGaussian.pm6#L21) |
.lambda = ($cmax + sqrt($cmax \* $cmax + 4)) / 2;
|
| [HOLYGHOST/Game-Markov``…/TruncatedGaussian.pm6`` :*24*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/HOLYGHOST/Game-Markov/lib/Game/Markov/TruncatedGaussian.pm6#L24) |
sqrt(2 \* PI) \* .lambda \* (1 - .phifunc(c));
|
| [HYTHM/Grid``…/Grid.pm`` :*432*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/HYTHM/Grid/lib/Grid.pm#L432) |
my $root = @perfect.sqrt.Int;
|
| [HYTHM/Grid``…/Grid.pm`` :*448*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/HYTHM/Grid/lib/Grid.pm#L448) |
my $root = @perfect.sqrt.Int;
|
| [JEFFOBER/Math-Vector3D``…/Vector3D.pm6`` :*51*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JEFFOBER/Math-Vector3D/lib/Math/Vector3D.pm6#L51) |
self.length-squared.sqrt;
|
| [JEFFOBER/Math-Vector3D``…/Vector3D.pm6`` :*144*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JEFFOBER/Math-Vector3D/lib/Math/Vector3D.pm6#L144) |
my $theta := self.dot($v) / ( sqrt(self.length-squared) \* $v.length-squared );
|
| [JEFFOBER/Math-Vector3D``…/Vector3D.pm6`` :*159*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JEFFOBER/Math-Vector3D/lib/Math/Vector3D.pm6#L159) |
sqrt self.distance-to-squared($v);
|
| [JEFFOBER/Math-Vector3D``…/basics.p6.t`` :*34*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JEFFOBER/Math-Vector3D/t/basics.p6.t#L34) |
is vec(2, 2, 2).distance-to(vec(3, 3, 3)), sqrt(3), 'distance-to';
|
| [JEFFOBER/Math-Vector3D``…/basics.p6.t`` :*37*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JEFFOBER/Math-Vector3D/t/basics.p6.t#L37) |
my $len = sqrt 14;
|
| [JGOFF/ANTLR4-Grammar``…/LessLexer.g4`` :*236*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/ANTLR4-Grammar/corpus/LessLexer.g4#L236) |
SQRT: 'sqrt';
|
| [JGOFF/ANTLR4-Grammar``…/UCBLogo.g4`` :*179*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/ANTLR4-Grammar/corpus/UCBLogo.g4#L179) |
put("sqrt", 1);
|
| [JGOFF/Perl6-Parser``…/rosetta-1.t`` :*36*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-1.t#L36) |
say "Door $\_ is ", \[.sqrt == .sqrt.floor] for 1..100;
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*87*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L87) |
[+] flat(x \> 1, gather for 2 .. x.sqrt.floor -\> \\d {
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*310*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L310) |
my @l = x \> 1, gather for 2 .. x.sqrt.floor -\> \\d {
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*470*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L470) |
my @l = x \> 1, gather for 2 .. x.sqrt.floor -\> \\d {
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*753*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L753) |
#($a, $g) = ($a + $g)/2, sqrt $a \* $g until $a ≅ $g;
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*756*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L756) |
($a, $g) = ($a + $g)/2, sqrt $a \* $g until $a = $g;
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*760*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L760) |
say agm 1, 1/sqrt 2;
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*768*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L768) |
given ($a + $g)/2, sqrt $a \* $g;
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*771*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L771) |
say agm 1, 1/sqrt 2;
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*781*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L781) |
multi sqrt(Int $n) {
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*785*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L785) |
multi sqrt(FatRat $r --\> FatRat) {
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*787*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L787) |
sqrt($r.nude[0] \* 10\*\*(number-of-decimals\*2) div $r.nude[1]),
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*792*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L792) |
my FatRat $g = sqrt(1/2.FatRat);
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*796*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L796) |
given [ ($a + $g)/2, sqrt($a \* $g) ] {
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*811*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L811) |
.say for $a.abs, $a.sqrt, $a.re, $a.im;
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*832*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L832) |
for 2 .. ceiling(sqrt($candidate)) -\> $factor {
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*1084*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L1084) |
sub rms(\*@nums) { sqrt [+](@nums X\*\* 2) / @nums }
|
| [JGOFF/Perl6-Parser``…/rosetta-a.t`` :*1091*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JGOFF/Perl6-Parser/t/corpus/rosetta-a.t#L1091) |
sub rms { sqrt @\_ R/ [+] @\_ X\*\* 2 }
|
| [JNTHN/cro``…/app.js`` :*855*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L855) |
/\* harmony export (binding) \*/ \_\_webpack\_require\_\_.d(\_\_webpack\_exports\_\_, "u", function() { return sqrt; });
|
| [JNTHN/cro``…/app.js`` :*881*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L881) |
var sqrt = Math.sqrt;
|
| [JNTHN/cro``…/app.js`` :*3172*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L3172) |
return arguments.length ? (projectResample = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_9\_\_resample\_\_["a" /\* default \*/])(projectTransform, delta2 = \_ \* \_), reset()) : Object(\_\_WEBPACK\_IMPORTED\_MODULE\_5\_\_math\_\_["u" /\* sqrt \*/])(delta2);
|
| [JNTHN/cro``…/app.js`` :*6730*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L6730) |
var l = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["u" /\* sqrt \*/])(d[0] \* d[0] + d[1] \* d[1] + d[2] \* d[2]);
|
| [JNTHN/cro``…/app.js`` :*6759*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L6759) |
var z = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["u" /\* sqrt \*/])(x \* x + y \* y),
|
| [JNTHN/cro``…/app.js`` :*6895*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L6895) |
/\* harmony export (binding) \*/ \_\_webpack\_require\_\_.d(\_\_webpack\_exports\_\_, "l", function() { return sqrt; });
|
| [JNTHN/cro``…/app.js`` :*6908*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L6908) |
var sqrt = Math.sqrt;
|
| [JNTHN/cro``…/app.js`` :*24541*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L24541) |
var c = 1 + sy0 \* (2 \* n - sy0), r0 = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["u" /\* sqrt \*/])(c) / n;
|
| [JNTHN/cro``…/app.js`` :*24544*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L24544) |
var r = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["u" /\* sqrt \*/])(c - 2 \* n \* Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["t" /\* sin \*/])(y)) / n;
|
| [JNTHN/cro``…/app.js`` :*24823*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L24823) |
var phi = (1 + Math.sqrt(5)) / 2;
|
| [JNTHN/cro``…/app.js`` :*25272*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L25272) |
this.\_l23\_a = Math.sqrt(this.\_l23\_2a = Math.pow(x23 \* x23 + y23 \* y23, this.\_alpha));
|
| [JNTHN/cro``…/app.js`` :*33753*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L33753) |
return v ? Math.sqrt(v) : v;
|
| [JNTHN/cro``…/app.js`` :*33882*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L33882) |
var e10 = Math.sqrt(50),
|
| [JNTHN/cro``…/app.js`` :*33883*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L33883) |
e5 = Math.sqrt(10),
|
| [JNTHN/cro``…/app.js`` :*33884*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L33884) |
e2 = Math.sqrt(2);
|
| [JNTHN/cro``…/app.js`` :*34616*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L34616) |
initialAngle = Math.PI \* (3 - Math.sqrt(5));
|
| [JNTHN/cro``…/app.js`` :*34662*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L34662) |
var radius = initialRadius \* Math.sqrt(i), angle = i \* initialAngle;
|
| [JNTHN/cro``…/app.js`` :*35820*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L35820) |
var t = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_2\_\_math\_\_["u" /\* sqrt \*/])(t2),
|
| [JNTHN/cro``…/app.js`` :*35941*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L35941) |
lengthSum.add(Object(\_\_WEBPACK\_IMPORTED\_MODULE\_1\_\_math\_\_["e" /\* atan2 \*/])(Object(\_\_WEBPACK\_IMPORTED\_MODULE\_1\_\_math\_\_["u" /\* sqrt \*/])(x \* x + y \* y), z));
|
| [JNTHN/cro``…/app.js`` :*36046*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L36046) |
y = Math.sqrt(Math.max(0, 2 \* da \* (db + dc) - (db -= dc) \* db - da \* da)) / (2 \* dc);
|
| [JNTHN/cro``…/app.js`` :*36239*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L36239) |
l = Math.sqrt(x21 \* x21 + y21 \* y21);
|
| [JNTHN/cro``…/app.js`` :*36268*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L36268) |
r = -(A ? (B + Math.sqrt(B \* B - 4 \* A \* C)) / (2 \* A) : C / B);
|
| [JNTHN/cro``…/app.js`` :*36333*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L36333) |
return mu + sigma \* y \* Math.sqrt(-2 \* Math.log(r) / r);
|
| [JNTHN/cro``…/app.js`` :*37417*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37417) |
var r = Math.sqrt(size / \_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["j" /\* pi \*/]);
|
| [JNTHN/cro``…/app.js`` :*37431*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37431) |
var r = Math.sqrt(size / 5) / 2;
|
| [JNTHN/cro``…/app.js`` :*37454*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37454) |
var tan30 = Math.sqrt(1 / 3),
|
| [JNTHN/cro``…/app.js`` :*37459*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37459) |
var y = Math.sqrt(size / tan30\_2),
|
| [JNTHN/cro``…/app.js`` :*37485*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37485) |
var r = Math.sqrt(size \* ka),
|
| [JNTHN/cro``…/app.js`` :*37509*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37509) |
var w = Math.sqrt(size),
|
| [JNTHN/cro``…/app.js`` :*37521*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37521) |
var sqrt3 = Math.sqrt(3);
|
| [JNTHN/cro``…/app.js`` :*37525*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37525) |
var y = -Math.sqrt(size / (sqrt3 \* 3));
|
| [JNTHN/cro``…/app.js`` :*37527*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37527) |
context.lineTo(-sqrt3 \* y, -y);
|
| [JNTHN/cro``…/app.js`` :*37528*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37528) |
context.lineTo(sqrt3 \* y, -y);
|
| [JNTHN/cro``…/app.js`` :*37540*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37540) |
s = Math.sqrt(3) / 2,
|
| [JNTHN/cro``…/app.js`` :*37541*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37541) |
k = 1 / Math.sqrt(12),
|
| [JNTHN/cro``…/app.js`` :*37546*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37546) |
var r = Math.sqrt(size / a),
|
| [JNTHN/cro``…/app.js`` :*37893*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L37893) |
circle.y = (circle.cy = y + by) + Math.sqrt(x \* x + y \* y); // y bottom
|
| [JNTHN/cro``…/app.js`` :*60042*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L60042) |
return arguments.length ? (clickDistance2 = (\_ = +\_) \* \_, drag) : Math.sqrt(clickDistance2);
|
| [JNTHN/cro``…/app.js`` :*61081*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L61081) |
return new Hcl(h \< 0 ? h + 360 : h, Math.sqrt(o.a \* o.a + o.b \* o.b), o.l, o.opacity);
|
| [JNTHN/cro``…/app.js`` :*61140*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L61140) |
s = Math.sqrt(k \* k + bl \* bl) / (E \* l \* (1 - l)), // NaN if l=0 or l=1
|
| [JNTHN/cro``…/app.js`` :*61321*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L61321) |
if (scaleX = Math.sqrt(a \* a + b \* b)) a /= scaleX, b /= scaleX;
|
| [JNTHN/cro``…/app.js`` :*61323*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L61323) |
if (scaleY = Math.sqrt(c \* c + d \* d)) c /= scaleY, d /= scaleY, skewX /= scaleY;
|
| [JNTHN/cro``…/app.js`` :*61383*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L61383) |
var d1 = Math.sqrt(d2),
|
| [JNTHN/cro``…/app.js`` :*61386*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L61386) |
r0 = Math.log(Math.sqrt(b0 \* b0 + 1) - b0),
|
| [JNTHN/cro``…/app.js`` :*61387*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L61387) |
r1 = Math.log(Math.sqrt(b1 \* b1 + 1) - b1);
|
| [JNTHN/cro``…/app.js`` :*62383*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L62383) |
return 1 - Math.sqrt(1 - t \* t);
|
| [JNTHN/cro``…/app.js`` :*62387*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L62387) |
return Math.sqrt(1 - --t \* t);
|
| [JNTHN/cro``…/app.js`` :*62391*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L62391) |
return ((t \*= 2) \<= 1 ? 1 - Math.sqrt(1 - t \* t) : Math.sqrt(1 - (t -= 2) \* t) + 1) / 2;
|
| [JNTHN/cro``…/app.js`` :*62937*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L62937) |
l21 = Math.sqrt(l21\_2),
|
| [JNTHN/cro``…/app.js`` :*62938*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L62938) |
l01 = Math.sqrt(l01\_2),
|
| [JNTHN/cro``…/app.js`` :*63336*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L63336) |
l = (r - (l = Math.sqrt(l))) / l \* strength;
|
| [JNTHN/cro``…/app.js`` :*63729*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L63729) |
var d = Math.sqrt(radius = d2);
|
| [JNTHN/cro``…/app.js`` :*63963*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L63963) |
l = Math.sqrt(x \* x + y \* y);
|
| [JNTHN/cro``…/app.js`` :*64120*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L64120) |
if (l \< distanceMin2) l = Math.sqrt(distanceMin2 \* l);
|
| [JNTHN/cro``…/app.js`` :*64134*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L64134) |
if (l \< distanceMin2) l = Math.sqrt(distanceMin2 \* l);
|
| [JNTHN/cro``…/app.js`` :*64154*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L64154) |
return arguments.length ? (distanceMin2 = \_ \* \_, force) : Math.sqrt(distanceMin2);
|
| [JNTHN/cro``…/app.js`` :*64158*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L64158) |
return arguments.length ? (distanceMax2 = \_ \* \_, force) : Math.sqrt(distanceMax2);
|
| [JNTHN/cro``…/app.js`` :*64162*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L64162) |
return arguments.length ? (theta2 = \_ \* \_, force) : Math.sqrt(theta2);
|
| [JNTHN/cro``…/app.js`` :*64192*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L64192) |
r = Math.sqrt(dx \* dx + dy \* dy),
|
| [JNTHN/cro``…/app.js`` :*64867*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L64867) |
w = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["e" /\* atan2 \*/])(Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["u" /\* sqrt \*/])((w = y0 \* z - z0 \* y) \* w + (w = z0 \* x - x0 \* z) \* w + (w = x0 \* y - y0 \* x) \* w), x0 \* x + y0 \* y + z0 \* z);
|
| [JNTHN/cro``…/app.js`` :*64910*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L64910) |
m = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["u" /\* sqrt \*/])(cx \* cx + cy \* cy + cz \* cz),
|
| [JNTHN/cro``…/app.js`` :*64945*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L64945) |
return [Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["e" /\* atan2 \*/])(y, x) \* \_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["h" /\* degrees \*/], Object(\_\_WEBPA…
|
| [JNTHN/cro``…/app.js`` :*65286*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L65286) |
d = 2 \* Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["c" /\* asin \*/])(Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["u" /\* sqrt \*/])(Objec…
|
| [JNTHN/cro``…/app.js`` :*65297*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L65297) |
Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["e" /\* atan2 \*/])(z, Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["u" /\* sqrt \*/])(x \* x + y \* y)) \* \_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["h" /\* degrees \*/]
|
| [JNTHN/cro``…/app.js`` :*65510*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L65510) |
var dx = x - x0, dy = y - y0, z = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["u" /\* sqrt \*/])(dx \* dx + dy \* dy);
|
| [JNTHN/cro``…/app.js`` :*65537*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L65537) |
z = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["u" /\* sqrt \*/])(dx \* dx + dy \* dy);
|
| [JNTHN/cro``…/app.js`` :*65656*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L65656) |
lengthSum.add(Object(\_\_WEBPACK\_IMPORTED\_MODULE\_1\_\_math\_\_["u" /\* sqrt \*/])(x0 \* x0 + y0 \* y0));
|
| [JNTHN/cro``…/app.js`` :*65768*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L65768) |
m = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_1\_\_math\_\_["u" /\* sqrt \*/])(a \* a + b \* b + c \* c),
|
| [JNTHN/cro``…/app.js`` :*65994*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L65994) |
return Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["u" /\* sqrt \*/])(2 / (1 + cxcy));
|
| [JNTHN/cro``…/app.js`` :*66068*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L66068) |
var fy = f - y, r = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["s" /\* sign \*/])(n) \* Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["u" /\* sqrt \*/])(x \* x + fy \* fy);
|
| [JNTHN/cro``…/app.js`` :*66109*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L66109) |
return [Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["e" /\* atan2 \*/])(x, Object(\_\_WEBPACK\_IMPORTED\_MODULE\_0\_\_math\_\_["a" /\* abs \*/])(gy)) / n \* Obj…
|
| [JNTHN/cro``…/app.js`` :*66705*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L66705) |
return Math.sqrt(d.value);
|
| [JNTHN/cro``…/app.js`` :*67601*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L67601) |
perimeter += Math.sqrt(xa \* xa + ya \* ya);
|
| [JNTHN/cro``…/app.js`` :*68407*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L68407) |
/\* harmony export (immutable) \*/ \_\_webpack\_exports\_\_["b"] = sqrt;
|
| [JNTHN/cro``…/app.js`` :*68446*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L68446) |
function sqrt() {
|
| [JNTHN/cro``…/app.js`` :*69424*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L69424) |
lo = (cw ? rc : -rc) / Object(\_\_WEBPACK\_IMPORTED\_MODULE\_2\_\_math\_\_["l" /\* sqrt \*/])(x01 \* x01 + y01 \* y01),
|
| [JNTHN/cro``…/app.js`` :*69438*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L69438) |
d = (dy \< 0 ? -1 : 1) \* Object(\_\_WEBPACK\_IMPORTED\_MODULE\_2\_\_math\_\_["l" /\* sqrt \*/])(Object(\_\_WEBPACK\_IMPORTED\_MODULE\_2\_\_math\_\_["h" /\* max \*/])(0, r \* r \* d2 - D \* D)),
|
| [JNTHN/cro``…/app.js`` :*69509*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L69509) |
rp = (ap \> \_\_WEBPACK\_IMPORTED\_MODULE\_2\_\_math\_\_["f" /\* epsilon \*/]) \&\& (padRadius ? +padRadius.apply(this, arguments) : Object(\_\_WEBPACK\_IMPORTED\_MODULE\_2\_\_math\_\_["l" /\* sqrt \*/])(r0 \* r0 + r1 \* r1)),
|
| [JNTHN/cro``…/app.js`` :*69545*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L69545) |
kc = 1 / Object(\_\_WEBPACK\_IMPORTED\_MODULE\_2\_\_math\_\_["k" /\* sin \*/])(Object(\_\_WEBPACK\_IMPORTED\_MODULE\_2\_\_math\_\_["b" /\* acos \*/])((ax \* b…
|
| [JNTHN/cro``…/app.js`` :*69546*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L69546) |
lc = Object(\_\_WEBPACK\_IMPORTED\_MODULE\_2\_\_math\_\_["l" /\* sqrt \*/])(oc[0] \* oc[0] + oc[1] \* oc[1]);
|
| [JNTHN/cro``…/app.js`` :*70185*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L70185) |
this.\_l23\_a = Math.sqrt(this.\_l23\_2a = Math.pow(x23 \* x23 + y23 \* y23, this.\_alpha));
|
| [JNTHN/cro``…/app.js`` :*70255*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L70255) |
this.\_l23\_a = Math.sqrt(this.\_l23\_2a = Math.pow(x23 \* x23 + y23 \* y23, this.\_alpha));
|
| [JNTHN/cro``…/app.js`` :*71076*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L71076) |
if (aby2) return (-b + Math.sqrt(b \* b - 2 \* aby2 \* (hl \* hl / (-2 \* plby2) - lfocy + plby2 / 2 + rfocy - pby2 / 2))) / aby2 + rfocx;
|
| [JNTHN/cro``…/app.js`` :*71471*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L71471) |
t = scale(t, Math.sqrt(dp / dl));
|
| [JNTHN/cro``…/app.js`` :*71536*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JNTHN/cro/resources/web/js/app.js#L71536) |
return arguments.length ? (clickDistance2 = (\_ = +\_) \* \_, zoom) : Math.sqrt(clickDistance2);
|
| [JSTOWE/Device-Velleman-K8055``…/k8055.c`` :*346*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/JSTOWE/Device-Velleman-K8055/src/k8055.c#L346) |
c = sqrt(c / 0.115);
|
| [MATIASL/Pygments``…/perl.py`` :*105*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/MATIASL/Pygments/resources/perl.py#L105) |
'sin', 'sleep', 'socket', 'socketpair', 'sort', 'splice', 'split', 'sprintf', 'sqrt',
|
| [MATIASL/Pygments``…/perl.py`` :*278*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/MATIASL/Pygments/resources/perl.py#L278) |
'split', 'sprintf', 'sqrt', 'srand', 'strand', 'subst', 'substr', 'succ',
|
| [MORITZ/Math-RungeKutta``…/RungeKutta.pm`` :*96*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/MORITZ/Math-RungeKutta/lib/Math/RungeKutta.pm#L96) |
$step \*= sqrt(sqrt($epsilon / (2 \* $err)));
|
| [PSIXSTEVE/Math-Polygons``…/Polygons.pm6`` :*30*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/PSIXSTEVE/Math-Polygons/lib/Math/Polygons.pm6#L30) |
sqrt($!side\*\*2 - ($!side/2)\*\*2)
|
| [SAMGWISE/ScaleVec``…/Vector.pm6`` :*130*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/SAMGWISE/ScaleVec/lib/ScaleVec/Vector.pm6#L130) |
(self.vector Z $other.vector).map( -\> ($a, $b) { ($b - $a)\*\*2 } ).sum.sqrt
cpan/SAMGWISE/ScaleVec/t/ScaleVec.t78is $chord.distance($cho…
|
| [TBROWDER/Geo-Ellipsoid``…/gentest-ellipsoid.p6`` :*845*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/gentest/gentest-ellipsoid.p6#L845) |
my $range = sqrt( $x\*$x + $y\*$y );
|
| [TBROWDER/Geo-Ellipsoid``…/Ellipsoid.pm6`` :*434*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/lib/Geo/Ellipsoid.pm6#L434) |
self.eccentricity = sqrt(2.0 \* self.flattening -
|
| [TBROWDER/Geo-Ellipsoid``…/Ellipsoid.pm6`` :*610*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/lib/Geo/Ellipsoid.pm6#L610) |
my $d4 = sqrt($d3);
|
| [TBROWDER/Geo-Ellipsoid``…/Ellipsoid.pm6`` :*817*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/lib/Geo/Ellipsoid.pm6#L817) |
my $range = sqrt($x\*$x+ $y\*$y);
|
| [TBROWDER/Geo-Ellipsoid``…/Ellipsoid.pm6`` :*856*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/lib/Geo/Ellipsoid.pm6#L856) |
my $cu1 = 1.0 / (sqrt(($tu1\*$tu1) + 1.0));
|
| [TBROWDER/Geo-Ellipsoid``…/Ellipsoid.pm6`` :*858*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/lib/Geo/Ellipsoid.pm6#L858) |
my $cu2 = 1.0 / (sqrt(($tu2\*$tu2) + 1.0));
|
| [TBROWDER/Geo-Ellipsoid``…/Ellipsoid.pm6`` :*885*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/lib/Geo/Ellipsoid.pm6#L885) |
$sy = sqrt($tu1\*$tu1 + $tu2\*$tu2);
|
| [TBROWDER/Geo-Ellipsoid``…/Ellipsoid.pm6`` :*921*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/lib/Geo/Ellipsoid.pm6#L921) |
$x = sqrt(((1.0/($r\*$r)) -1.0) \* $c2a+1.0) + 1.0;
|
| [TBROWDER/Geo-Ellipsoid``…/Ellipsoid.pm6`` :*1005*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/lib/Geo/Ellipsoid.pm6#L1005) |
my $cu = 1.0 / sqrt(1.0 + $tu\*$tu);
|
| [TBROWDER/Geo-Ellipsoid``…/Ellipsoid.pm6`` :*1009*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/lib/Geo/Ellipsoid.pm6#L1009) |
my $x = 1.0 + sqrt((((1.0/($r\*$r)) - 1.0)\*$c2a) +1.0);
|
| [TBROWDER/Geo-Ellipsoid``…/Ellipsoid.pm6`` :*1038*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/lib/Geo/Ellipsoid.pm6#L1038) |
$c = $r\*sqrt(($sa\*$sa) + ($baz\*$baz));
|
| [TBROWDER/Geo-Ellipsoid``…/test-ellipsoid.p6`` :*158*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/test/test-ellipsoid.p6#L158) |
my $range = sqrt($east\*$east + $north\*$north);
|
| [TBROWDER/Geo-Ellipsoid``…/test-ellipsoid.p6`` :*282*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TBROWDER/Geo-Ellipsoid/test/test-ellipsoid.p6#L282) |
my $range = sqrt($x\*$x + $y\*$y);
|
| [TITSUKI/Algorithm-LBFGS``…/arithmetic_ansi.h`` :*126*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LBFGS/src/arithmetic_ansi.h#L126) |
\*s = (lbfgsfloatval\_t)sqrt(\*s);
|
| [TITSUKI/Algorithm-LBFGS``…/arithmetic_sse_double.h`` :*266*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LBFGS/src/arithmetic_sse_double.h#L266) |
XMM0 = \_mm\_sqrt\_pd(XMM0); \\
|
| [TITSUKI/Algorithm-LBFGS``…/arithmetic_sse_double.h`` :*291*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LBFGS/src/arithmetic_sse_double.h#L291) |
XMM0 = \_mm\_sqrt\_pd(XMM0); \\
|
| [TITSUKI/Algorithm-LBFGS``…/arithmetic_sse_float.h`` :*264*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LBFGS/src/arithmetic_sse_float.h#L264) |
XMM1 = \_mm\_rsqrt\_ss(XMM0); \\
|
| [TITSUKI/Algorithm-LBFGS``…/arithmetic_sse_float.h`` :*293*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LBFGS/src/arithmetic_sse_float.h#L293) |
XMM1 = \_mm\_rsqrt\_ss(XMM0); \\
|
| [TITSUKI/Algorithm-LBFGS``…/lbfgs.c`` :*454*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LBFGS/src/lbfgs.c#L454) |
step = 1.0 / sqrt(vecdot(d, d, n))
|
| [TITSUKI/Algorithm-LBFGS``…/lbfgs.c`` :*1028*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LBFGS/src/lbfgs.c#L1028) |
/\* gamma = s\*sqrt((theta/s)\*\*2 - (du/s) \* (dv/s)) \*/ \\
|
| [TITSUKI/Algorithm-LBFGS``…/lbfgs.c`` :*1030*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LBFGS/src/lbfgs.c#L1030) |
gamma = s \* sqrt(a \* a - ((du) / s) \* ((dv) / s)); \\
|
| [TITSUKI/Algorithm-LBFGS``…/lbfgs.c`` :*1056*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LBFGS/src/lbfgs.c#L1056) |
/\* gamma = s\*sqrt((theta/s)\*\*2 - (du/s) \* (dv/s)) \*/ \\
|
| [TITSUKI/Algorithm-LBFGS``…/lbfgs.c`` :*1058*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LBFGS/src/lbfgs.c#L1058) |
gamma = s \* sqrt(max2(0, a \* a - ((du) / s) \* ((dv) / s))); \\
|
| [TITSUKI/Algorithm-LibSVM``…/svm.cpp`` :*1997*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LibSVM/src/3.22/svm.cpp#L1997) |
double std=sqrt(2\*mae\*mae);
|
| [TITSUKI/Algorithm-LibSVM``…/04-oneclass.t`` :*29*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LibSVM/t/04-oneclass.t#L29) |
1 1:{sqrt(0)} 2:{sqrt(0)}
|
| [TITSUKI/Algorithm-LibSVM``…/04-oneclass.t`` :*33*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LibSVM/t/04-oneclass.t#L33) |
1 1:{sqrt(10)} 2:{sqrt(10)}
|
| [TITSUKI/Algorithm-LibSVM``…/05-epssvr.t`` :*20*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LibSVM/t/05-epssvr.t#L20) |
my $std = sqrt(2.0 \* $mae \* $mae);
|
| [TITSUKI/Algorithm-LibSVM``…/06-nusvr.t`` :*20*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/TITSUKI/Algorithm-LibSVM/t/06-nusvr.t#L20) |
my $std = sqrt(2.0 \* $mae \* $mae);
|
| [WARRINGD/PDF-Class``…/PostScript.pm`` :*62*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/WARRINGD/PDF-Class/lib/PDF/Function/PostScript.pm#L62) |
sqrt =\> method { self.pop.sqrt },
|
| [WARRINGD/PDF-Class``…/pdf-function-postscript.t`` :*80*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/WARRINGD/PDF-Class/t/pdf-function-postscript.t#L80) |
is-approx calc('sqrt', [2])[0], 2.sqrt, 'sqrt op';
|
| [WARRINGD/PDF-ISO_32000``…/Predefined_spot_functions.html`` :*631*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/WARRINGD/PDF-ISO_32000/gen/tables/Predefined_spot_functions.html#L631) |
sqrt
|
| [WARRINGD/PDF-ISO_32000``…/Type_4_Function_operators.html`` :*96*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/WARRINGD/PDF-ISO_32000/gen/tables/Type_4_Function_operators.html#L96) |
sqrt
|
| [WARRINGD/PDF-ISO_32000``…/Predefined_spot_functions.json`` :*83*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/WARRINGD/PDF-ISO_32000/resources/ISO_32000/Predefined_spot_functions.json#L83) |
"1x258---y2+–\\n{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
|
| [WARRINGD/PDF-ISO_32000``…/Type_4_Function_operators.json`` :*15*:](https://github.com/moritz/perl6-all-modules/blob/44c17582d24865e17713958e506ae64456e8b1b9/cpan/WARRINGD/PDF-ISO_32000/resources/ISO_32000/Type_4_Function_operators.json#L15) |
"sin\\nsqrt\\nsub\\ntruncate"
|
| [AlexDaniel/orgsleep``…/orgsleep`` :*293*:](https://github.com/AlexDaniel/orgsleep/blob/c7ac458a1fde84c3a9eda0e86a5df96dcecd820d/bin/orgsleep#L293) |
method length() { sqrt $.x² + $.y² }
|
| [JJ/p6-math-constants``…/01-basic.t`` :*17*:](https://github.com/JJ/p6-math-constants/blob/e10c2ad91e4832d4dfa15ade3d2c40506c230034/t/01-basic.t#L17) |
is-approx φ, (1 + sqrt(5))/2, "Golden ratio";
|
| [MattOates/Stats``…/Stats.pm6`` :*89*:](https://github.com/MattOates/Stats/blob/a86960a87afeb098dc81021c3fa900867b2e8b2a/lib/Stats.pm6#L89) |
sqrt(variance($x));
|
| [MattOates/Stats``…/Stats.pm6`` :*92*:](https://github.com/MattOates/Stats/blob/a86960a87afeb098dc81021c3fa900867b2e8b2a/lib/Stats.pm6#L92) |
sqrt(variance($x));
|
| [MattOates/Stats``…/Stats.pm6`` :*173*:](https://github.com/MattOates/Stats/blob/a86960a87afeb098dc81021c3fa900867b2e8b2a/lib/Stats.pm6#L173) |
when 'Square-root choice' { $bin-width = abs($x.max - $x.min) / sqrt($x.elems); }
|
| [MattOates/Stats``…/stats.t`` :*17*:](https://github.com/MattOates/Stats/blob/a86960a87afeb098dc81021c3fa900867b2e8b2a/t/stats.t#L17) |
ok sd(@list\_x) == sqrt(10/3), 'Standard deviation correctly calculated.';
|
| [Tux/CSV``…/Notes`` :*10*:](https://github.com/Tux/CSV/blob/d89a1f53376dcdd31456ca33298a28c463cc2e2a/Notes#L10) |
Num Bridge Int Rat FatRat succ pred isNaN abs log sqrt rand ceiling
|
| [Util/Perl6-Math-Quaternion``…/glossary.pod`` :*17*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/glossary.pod#L17) |
norm norm abs abs sum\_of\_squares( r,i,j,k ).sqrt
|
| [Util/Perl6-Math-Quaternion``…/glossary.pod`` :*19*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/glossary.pod#L19) |
abs(unreal) abs\_imag sum\_of\_squares( i,j,k ).sqrt
|
| [Util/Perl6-Math-Quaternion``…/glossary.pod`` :*21*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/glossary.pod#L21) |
arg atan2( sum\_of\_squares( i,j,k ).sqrt, r );
|
| [Util/Perl6-Math-Quaternion``…/glossary.pod`` :*28*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/glossary.pod#L28) |
signum absq = sum\_of\_squares( r,i,j,k ).sqrt; return ( absq == 0.0 ) ?? self !! self.new( r/absq, i/absq, j/absq, k/absq );
|
| [Util/Perl6-Math-Quaternion``…/glossary.pod`` :*31*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/glossary.pod#L31) |
versor self / sum\_of\_squares( r,i,j,k ).sqrt
|
| [Util/Perl6-Math-Quaternion``…/glossary.pod`` :*46*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/glossary.pod#L46) |
sqrt .
|
| [Util/Perl6-Math-Quaternion``…/Quaternion.pm6`` :*52*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/lib/Math/Quaternion.pm6#L52) |
method norm ( ) { sqrt [+] self.coeffs »\*\*» 2 }
|
| [Util/Perl6-Math-Quaternion``…/is_bool.t`` :*16*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/t/is_bool.t#L16) |
my Math::Quaternion $qU = $q1 \* ( 1 / $q1.squarednorm.sqrt ); # XXX Change to .norm or .normalize(d) when available.
|
| [ab5tract/Terminal-Print``…/attacks.p6`` :*14*:](https://github.com/ab5tract/Terminal-Print/blob/2b3b9a3568cdc4a6317a4035c9b30909b05f69b8/examples/attacks.p6#L14) |
sub prefix:\<√\>(Numeric $n) { $n.sqrt }
|
| [ab5tract/Terminal-Print``…/light-sources.p6`` :*1*:](https://github.com/ab5tract/Terminal-Print/blob/2b3b9a3568cdc4a6317a4035c9b30909b05f69b8/examples/light-sources.p6#L1) |
# ABSTRACT: Display linear and sqrt light sources of various radii in 16- and 256-color variants
|
| [ab5tract/Terminal-Print``…/light-sources.p6`` :*7*:](https://github.com/ab5tract/Terminal-Print/blob/2b3b9a3568cdc4a6317a4035c9b30909b05f69b8/examples/light-sources.p6#L7) |
sub yellowish-light($cx, $cy, $radius, :$color-bits = 4, :$sqrt) {
|
| [ab5tract/Terminal-Print``…/light-sources.p6`` :*22*:](https://github.com/ab5tract/Terminal-Print/blob/2b3b9a3568cdc4a6317a4035c9b30909b05f69b8/examples/light-sources.p6#L22) |
my $brightness = (1e0 - $dist2.sqrt / $r\_num);
|
| [ab5tract/Terminal-Print``…/light-sources.p6`` :*23*:](https://github.com/ab5tract/Terminal-Print/blob/2b3b9a3568cdc4a6317a4035c9b30909b05f69b8/examples/light-sources.p6#L23) |
$brightness = $brightness.sqrt if $sqrt;
|
| [ab5tract/Terminal-Print``…/light-sources.p6`` :*43*:](https://github.com/ab5tract/Terminal-Print/blob/2b3b9a3568cdc4a6317a4035c9b30909b05f69b8/examples/light-sources.p6#L43) |
T.print-string( 60, 21, 'sqrt');
|
| [ab5tract/Terminal-Print``…/light-sources.p6`` :*46*:](https://github.com/ab5tract/Terminal-Print/blob/2b3b9a3568cdc4a6317a4035c9b30909b05f69b8/examples/light-sources.p6#L46) |
yellowish-light($radius \* $radius, 21, $radius, :$color-bits, :sqrt);
|
| [ab5tract/Terminal-Print``…/rpg-ui.p6`` :*482*:](https://github.com/ab5tract/Terminal-Print/blob/2b3b9a3568cdc4a6317a4035c9b30909b05f69b8/examples/rpg-ui.p6#L482) |
my $brightness = (13e0 \* (1e0 - $dist2.sqrt / $r\_num)).ceiling;
|
| [ab5tract/Terminal-Print``…/rpg-ui.p6`` :*1092*:](https://github.com/ab5tract/Terminal-Print/blob/2b3b9a3568cdc4a6317a4035c9b30909b05f69b8/examples/rpg-ui.p6#L1092) |
my $hyp = ($dy \* $dy + $x \* $x).sqrt;
|
| [ab5tract/Terminal-Print``…/rpg-ui.p6`` :*1160*:](https://github.com/ab5tract/Terminal-Print/blob/2b3b9a3568cdc4a6317a4035c9b30909b05f69b8/examples/rpg-ui.p6#L1160) |
my $d = ($dx2 + $dy2).sqrt;
|
| [ajs/perl6-Math-Sequences``…/Integer.pm`` :*168*:](https://github.com/ajs/perl6-Math-Sequences/blob/fe01de360f9b51040cfe82bd20ad6658f402ae98/lib/Math/Sequences/Integer.pm#L168) |
for 2..($n.sqrt.floor) -\> $i {
|
| [ajs/perl6-Math-Sequences``…/Integer.pm`` :*450*:](https://github.com/ajs/perl6-Math-Sequences/blob/fe01de360f9b51040cfe82bd20ad6658f402ae98/lib/Math/Sequences/Integer.pm#L450) |
# A001333 / sqrt(2)
|
| [ajs/perl6-Math-Sequences``…/Integer.pm`` :*515*:](https://github.com/ajs/perl6-Math-Sequences/blob/fe01de360f9b51040cfe82bd20ad6658f402ae98/lib/Math/Sequences/Integer.pm#L515) |
# A002530 / sqrt(3)
|
| [ajs/perl6-Math-Sequences``…/Integer.pm`` :*521*:](https://github.com/ajs/perl6-Math-Sequences/blob/fe01de360f9b51040cfe82bd20ad6658f402ae98/lib/Math/Sequences/Integer.pm#L521) |
# A002531 / sqrt(3)
|
| [azawawi/farabi6``…/clike.js`` :*422*:](https://github.com/azawawi/farabi6/blob/bb8399303659cc9d17429b22fb17c20f9ace4fd7/lib/Farabi6/files/assets/3rd-party/codemirror-v5.0/mode/clike/clike.js#L422) |
"pow exp log exp2 sqrt inversesqrt " +
|
| [azawawi/farabi6``…/perl.js`` :*438*:](https://github.com/azawawi/farabi6/blob/bb8399303659cc9d17429b22fb17c20f9ace4fd7/lib/Farabi6/files/assets/3rd-party/codemirror-v5.0/mode/perl/perl.js#L438) |
'sqrt' :1, // - square root function
|
| [azawawi/farabi6``…/sql.js`` :*344*:](https://github.com/azawawi/farabi6/blob/bb8399303659cc9d17429b22fb17c20f9ace4fd7/lib/Farabi6/files/assets/3rd-party/codemirror-v5.0/mode/sql/sql.js#L344) |
builtin: set("abs acos add\_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat …
|
| [azawawi/farabi6``…/perl6-mode.js`` :*289*:](https://github.com/azawawi/farabi6/blob/bb8399303659cc9d17429b22fb17c20f9ace4fd7/lib/Farabi6/files/assets/perl6-mode.js#L289) |
"ceiling abs exp log log10 rand sign sqrt sin cos tan round strand",
|
| [azawawi/perl6-gtk-scintilla``…/ScintillaCocoa.mm`` :*2500*:](https://github.com/azawawi/perl6-gtk-scintilla/blob/7664d7498ed835202f6d4c624f7a94970698ac85/src/scintilla/cocoa/ScintillaCocoa.mm#L2500) |
dY = -(int) sqrt(-10.0 \* [event deltaY]);
|
| [azawawi/perl6-gtk-scintilla``…/ScintillaCocoa.mm`` :*2502*:](https://github.com/azawawi/perl6-gtk-scintilla/blob/7664d7498ed835202f6d4c624f7a94970698ac85/src/scintilla/cocoa/ScintillaCocoa.mm#L2502) |
dY = (int) sqrt(10.0 \* [event deltaY]);
|
| [azawawi/perl6-gtk-scintilla``…/lexTests.py`` :*40*:](https://github.com/azawawi/perl6-gtk-scintilla/blob/7664d7498ed835202f6d4c624f7a94970698ac85/src/scintilla/test/lexTests.py#L40) |
b"sin sleep socket socketpair sort splice split sprintf sqrt srand "
|
| [azawawi/perl6-terminal-caca``…/06-icosphere.pl6`` :*19*:](https://github.com/azawawi/perl6-terminal-caca/blob/fa7fb4eb448a835ab594d154fe465927c03b4136/examples/06-icosphere.pl6#L19) |
my $t = (1.0 + sqrt(5.0)) / 2.0;
|
| [bduggan/p6-jupyter-kernel``…/math.ipynb`` :*57*:](https://github.com/bduggan/p6-jupyter-kernel/blob/52888c96ca83bed3ca3d9e7cd6103559214f8d66/eg/math.ipynb#L57) |
"C = \\\\sqrt[3]{ \\\\frac{ \\\\Delta\_1 \\\\pm \\\\sqrt{\\\\Delta\_1^2 - 4 \\\\Delta\_0^3 } }{2} }\\n",
|
| [bduggan/p6-jupyter-kernel``…/math.ipynb`` :*84*:](https://github.com/bduggan/p6-jupyter-kernel/blob/52888c96ca83bed3ca3d9e7cd6103559214f8d66/eg/math.ipynb#L84) |
" my \\\\C = ( ( Δ1 + sqrt( Δ1² - 4 × Δ0³ + 0i) ) / 2 ).roots(3)[0];\\n",
|
| [bluebear94/Math-Random``…/Random.pm6`` :*73*:](https://github.com/bluebear94/Math-Random/blob/a49ea0783459b146e236fb54e08e1ebb0b84dafc/lib/Math/Random.pm6#L73) |
my Num $multiplier = sqrt(-2 \* log($s) / $s);
github/colomon/Math-ContinuedFractions/t/00-experiments.t132sub cf-sqrt-two() {
|
| [colomon/Math-ContinuedFractions``…/00-experiments.t`` :*136*:](https://github.com/colomon/Math-ContinuedFractions/blob/d657704ad389fb3a0943d89547223fc0f1647467/t/00-experiments.t#L136) |
is cf-sqrt-two()[^10], make-continued-fraction(sqrt(2))[^10], "approximation for sqrt-2 works";
|
| [colomon/Math-ContinuedFractions``…/00-experiments.t`` :*137*:](https://github.com/colomon/Math-ContinuedFractions/blob/d657704ad389fb3a0943d89547223fc0f1647467/t/00-experiments.t#L137) |
is z(0, 1, 1, 0, 1, 0, 0, 0, cf-sqrt-two(), make-continued-fraction(1/2))[^10],
|
| [colomon/Math-ContinuedFractions``…/00-experiments.t`` :*138*:](https://github.com/colomon/Math-ContinuedFractions/blob/d657704ad389fb3a0943d89547223fc0f1647467/t/00-experiments.t#L138) |
make-continued-fraction(sqrt(2)+1/2)[^10],
|
| [colomon/Math-ContinuedFractions``…/00-experiments.t`` :*140*:](https://github.com/colomon/Math-ContinuedFractions/blob/d657704ad389fb3a0943d89547223fc0f1647467/t/00-experiments.t#L140) |
is z(0, 1, 1, 0, 1, 0, 0, 0, cf-sqrt-two(), cf-sqrt-two())[^10],
|
| [colomon/Math-ContinuedFractions``…/00-experiments.t`` :*141*:](https://github.com/colomon/Math-ContinuedFractions/blob/d657704ad389fb3a0943d89547223fc0f1647467/t/00-experiments.t#L141) |
make-continued-fraction(sqrt(2)\*2)[^10],
|
| [colomon/Math-ContinuedFractions``…/00-experiments.t`` :*143*:](https://github.com/colomon/Math-ContinuedFractions/blob/d657704ad389fb3a0943d89547223fc0f1647467/t/00-experiments.t#L143) |
eval-dies-ok "z(0, 0, 0, 1, 1, 0, 0, 0, cf-sqrt-two(), cf-sqrt-two())[0]", "sqrt(2)^2 cannot be calculated";
|
| [colomon/Math-Vector``…/Vector.pm`` :*58*:](https://github.com/colomon/Math-Vector/blob/0124769d780fcdca78b6241c4a8e50858cad7bc7/lib/Math/Vector.pm#L58) |
sqrt(self ⋅ self.conj);
|
| [colomon/Math-Vector``…/01-basics.t`` :*196*:](https://github.com/colomon/Math-Vector/blob/0124769d780fcdca78b6241c4a8e50858cad7bc7/t/01-basics.t#L196) |
# self.bless(\*, coordinates =\> @x, length =\> sqrt [+] (@x »\*« @x));
|
| [colomon/Math-Vector``…/01-basics.t`` :*201*:](https://github.com/colomon/Math-Vector/blob/0124769d780fcdca78b6241c4a8e50858cad7bc7/t/01-basics.t#L201) |
# self.bless(\*, coordinates =\> @x, length =\> sqrt [+] (@x »\*« @x));
|
| [cygx/p6-tinycc-resources-win64``…/math.h`` :*133*:](https://github.com/cygx/p6-tinycc-resources-win64/blob/1ab4b2af762642011f340d2aca91062b2ad8e370/resources/include/math.h#L133) |
double \_\_cdecl sqrt(double \_X);
|
| [cygx/p6-tinycc-resources-win64``…/math.h`` :*183*:](https://github.com/cygx/p6-tinycc-resources-win64/blob/1ab4b2af762642011f340d2aca91062b2ad8e370/resources/include/math.h#L183) |
float \_\_cdecl sqrtf(float \_X);
|
| [cygx/p6-tinycc-resources-win64``…/math.h`` :*268*:](https://github.com/cygx/p6-tinycc-resources-win64/blob/1ab4b2af762642011f340d2aca91062b2ad8e370/resources/include/math.h#L268) |
\_\_CRT\_INLINE float sqrtf(float \_X) { return ((float)sqrt((double)\_X)); }
|
| [cygx/p6-tinycc-resources-win64``…/math.h`` :*459*:](https://github.com/cygx/p6-tinycc-resources-win64/blob/1ab4b2af762642011f340d2aca91062b2ad8e370/resources/include/math.h#L459) |
extern long double sqrtl(long double);
|
| [cygx/p6-tinycc-resources-win64``…/msvcrt.def`` :*75*:](https://github.com/cygx/p6-tinycc-resources-win64/blob/1ab4b2af762642011f340d2aca91062b2ad8e370/resources/lib/msvcrt.def#L75) |
\_CIsqrt
|
| [cygx/p6-tinycc-resources-win64``…/msvcrt.def`` :*1297*:](https://github.com/cygx/p6-tinycc-resources-win64/blob/1ab4b2af762642011f340d2aca91062b2ad8e370/resources/lib/msvcrt.def#L1297) |
sqrt
|
| [cygx/p6-tinycc``…/03-csub.t`` :*23*:](https://github.com/cygx/p6-tinycc/blob/a090e663f284a2aee73872ffbc92637bcbd62310/t/03-csub.t#L23) |
sub mysqrt(num64 \\val --\> num64) {...} ==\> C(:include\, q{
|
| [cygx/p6-tinycc``…/03-csub.t`` :*24*:](https://github.com/cygx/p6-tinycc/blob/a090e663f284a2aee73872ffbc92637bcbd62310/t/03-csub.t#L24) |
return sqrt(val);
|
| [cygx/p6-tinycc``…/03-csub.t`` :*27*:](https://github.com/cygx/p6-tinycc/blob/a090e663f284a2aee73872ffbc92637bcbd62310/t/03-csub.t#L27) |
ok mysqrt(2e0) =\~= sqrt(2), 'can include math.h';
|
| [drforr/perl6-ANTLR4``…/LessLexer.g4`` :*236*:](https://github.com/drforr/perl6-ANTLR4/blob/ffa588bd94ccf02660a5b05c16b2199f9d58cf89/corpus/LessLexer.g4#L236) |
SQRT: 'sqrt';
|
| [drforr/perl6-ANTLR4``…/UCBLogo.g4`` :*179*:](https://github.com/drforr/perl6-ANTLR4/blob/ffa588bd94ccf02660a5b05c16b2199f9d58cf89/corpus/UCBLogo.g4#L179) |
put("sqrt", 1);
|
| [drforr/perl6-Perl6-Parser``…/rosetta-1.t`` :*36*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-1.t#L36) |
say "Door $\_ is ", \[.sqrt == .sqrt.floor] for 1..100;
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*87*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L87) |
[+] flat(x \> 1, gather for 2 .. x.sqrt.floor -\> \\d {
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*310*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L310) |
my @l = x \> 1, gather for 2 .. x.sqrt.floor -\> \\d {
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*470*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L470) |
my @l = x \> 1, gather for 2 .. x.sqrt.floor -\> \\d {
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*753*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L753) |
#($a, $g) = ($a + $g)/2, sqrt $a \* $g until $a ≅ $g;
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*756*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L756) |
($a, $g) = ($a + $g)/2, sqrt $a \* $g until $a = $g;
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*760*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L760) |
say agm 1, 1/sqrt 2;
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*768*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L768) |
given ($a + $g)/2, sqrt $a \* $g;
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*771*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L771) |
say agm 1, 1/sqrt 2;
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*781*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L781) |
multi sqrt(Int $n) {
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*785*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L785) |
multi sqrt(FatRat $r --\> FatRat) {
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*787*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L787) |
sqrt($r.nude[0] \* 10\*\*(number-of-decimals\*2) div $r.nude[1]),
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*792*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L792) |
my FatRat $g = sqrt(1/2.FatRat);
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*796*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L796) |
given [ ($a + $g)/2, sqrt($a \* $g) ] {
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*811*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L811) |
.say for $a.abs, $a.sqrt, $a.re, $a.im;
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*832*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L832) |
for 2 .. ceiling(sqrt($candidate)) -\> $factor {
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*1084*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L1084) |
sub rms(\*@nums) { sqrt [+](@nums X\*\* 2) / @nums }
|
| [drforr/perl6-Perl6-Parser``…/rosetta-a.t`` :*1091*:](https://github.com/drforr/perl6-Perl6-Parser/blob/7cb505b318fd587ffbc90d66e73600b158a87b05/t/corpus/rosetta-a.t#L1091) |
sub rms { sqrt @\_ R/ [+] @\_ X\*\* 2 }
|
| [grondilu/libdigest-perl6``…/SHA.pm`` :*85*:](https://github.com/grondilu/libdigest-perl6/blob/39bb469a81485ede064de7c7aa9284d1c4b327c7/lib/Digest/SHA.pm#L85) |
my @H = init(\&sqrt)[^8];
|
| [jonathanstowe/Device-Velleman-K8055``…/k8055.c`` :*346*:](https://github.com/jonathanstowe/Device-Velleman-K8055/blob/18b7eaad9a8d50f47a71a719e2aea222a422eac4/src/k8055.c#L346) |
c = sqrt(c / 0.115);
|
| [madcapjake/p6-myhtml``…/Tag.pm6`` :*248*:](https://github.com/madcapjake/p6-myhtml/blob/38d9f79d7ceb45ba799ab58a517f33830b726506/lib/HTML/MyHTML/Tag.pm6#L248) |
msqrt =\> 0x0f4,
|
| [p6-pdf/PDF-Grammar-p6``…/Function.pm`` :*32*:](https://github.com/p6-pdf/PDF-Grammar-p6/blob/a90c41e189fda247f4630e2f618da4d9967a0bd3/lib/PDF/Grammar/Function.pm#L32) |
\|idiv\|ln\|log\|mod\|mul\|neg\|round\|sin\|sqrt\|sub\|truncate]
|
| [perl6/doc``…/5to6-perlfunc.pod6`` :*1851*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Language/5to6-perlfunc.pod6#L1851) |
=head2 sqrt
|
| [perl6/doc``…/5to6-perlfunc.pod6`` :*1853*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Language/5to6-perlfunc.pod6#L1853) |
=item sqrt EXPR
|
| [perl6/doc``…/5to6-perlfunc.pod6`` :*1857*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Language/5to6-perlfunc.pod6#L1857) |
C\<sqrt\> also operates on C\<$\_\> in the absence of a value, but not as a
|
| [perl6/doc``…/5to6-perlfunc.pod6`` :*1858*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Language/5to6-perlfunc.pod6#L1858) |
function, and as a method you need to call it as C\<.sqrt\> rather than simply
|
| [perl6/doc``…/5to6-perlfunc.pod6`` :*1859*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Language/5to6-perlfunc.pod6#L1859) |
C\<sqrt\>.
|
| [perl6/doc``…/5to6-perlfunc.pod6`` :*1862*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Language/5to6-perlfunc.pod6#L1862) |
which exports a C\<sqrt\> function that mimics the original Perl 5 behaviour as
|
| [perl6/doc``…/functions.pod6`` :*1013*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Language/functions.pod6#L1013) |
sub square-root($x) { $x.sqrt }
|
| [perl6/doc``…/modules.pod6`` :*399*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Language/modules.pod6#L399) |
for \<sqrt log\> -\> $func {
|
| [perl6/doc``…/modules.pod6`` :*410*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Language/modules.pod6#L410) |
say sqrt-of-four; # OUTPUT: «2»
|
| [perl6/doc``…/objects.pod6`` :*957*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Language/objects.pod6#L957) |
method abs { sqrt($.x \* $.x + $.y \* $.y) }
|
| [perl6/doc``…/Complex.pod6`` :*145*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Complex.pod6#L145) |
C\<sqrt($z.re \* $z.re + $z.im \* $z.im)\>.
|
| [perl6/doc``…/Complex.pod6`` :*148*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Complex.pod6#L148) |
# sqrt(3\*3 + 4\*4) == 5
|
| [perl6/doc``…/Complex.pod6`` :*161*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Complex.pod6#L161) |
=head2 method sqrt
|
| [perl6/doc``…/Complex.pod6`` :*165*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Complex.pod6#L165) |
method sqrt(Complex:D: --\> Complex:D)
|
| [perl6/doc``…/Complex.pod6`` :*171*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Complex.pod6#L171) |
say (3-4i).sqrt; # OUTPUT: «2-1i»
|
| [perl6/doc``…/Complex.pod6`` :*172*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Complex.pod6#L172) |
say (-3+4i).sqrt; # OUTPUT: «1+2i»
|
| [perl6/doc``…/Cool.pod6`` :*40*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Cool.pod6#L40) |
sqrt Numeric
|
| [perl6/doc``…/Cool.pod6`` :*144*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Cool.pod6#L144) |
=head2 routine sqrt
|
| [perl6/doc``…/Cool.pod6`` :*148*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Cool.pod6#L148) |
sub sqrt(Numeric(Cool) $x)
|
| [perl6/doc``…/Cool.pod6`` :*149*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Cool.pod6#L149) |
method sqrt()
|
| [perl6/doc``…/Cool.pod6`` :*155*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Cool.pod6#L155) |
say 4.sqrt; # OUTPUT: «2»
|
| [perl6/doc``…/Cool.pod6`` :*156*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Cool.pod6#L156) |
say sqrt(2); # OUTPUT: «1.4142135623731»
|
| [perl6/doc``…/Cool.pod6`` :*314*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Cool.pod6#L314) |
say sqrt(2).asec; # OUTPUT: «0.785398163397448»
|
| [perl6/doc``…/Cool.pod6`` :*592*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Cool.pod6#L592) |
say sqrt(2).unpolar(pi/4); # OUTPUT: «1+1i»
|
| [perl6/doc``…/Junction.pod6`` :*87*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Junction.pod6#L87) |
so $x %% none(2..$x.sqrt);
|
| [perl6/doc``…/MethodContainer.pod6`` :*70*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Metamodel/MethodContainer.pod6#L70) |
say 2.5.^lookup("sqrt").perl: # OUTPUT: «method sqrt (Rat $: \*%\_) ...»
|
| [perl6/doc``…/Numeric.pod6`` :*117*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Numeric.pod6#L117) |
=head2 routine sqrt
|
| [perl6/doc``…/Numeric.pod6`` :*119*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Numeric.pod6#L119) |
multi sub sqrt(Numeric:D --\> Numeric:D)
|
| [perl6/doc``…/Numeric.pod6`` :*120*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Numeric.pod6#L120) |
multi method sqrt(Numeric:D --\> Numeric:D)
|
| [perl6/doc``…/Numeric.pod6`` :*125*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Numeric.pod6#L125) |
On negative real numbers, C\<sqrt\> returns L\\|/type/Num#NaN\> rather than a complex number,
|
| [perl6/doc``…/Rat.pod6`` :*31*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Rat.pod6#L31) |
sub approx-sqrt($n, $iterations) {
|
| [perl6/doc``…/Rat.pod6`` :*36*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Rat.pod6#L36) |
say approx-sqrt(2, 5).^name; # OUTPUT: «Rat»
|
| [perl6/doc``…/Rat.pod6`` :*37*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/doc/Type/Rat.pod6#L37) |
say approx-sqrt(2, 10).^name; # OUTPUT: «Num»
|
| [perl6/doc``…/words.pws`` :*1125*:](https://github.com/perl6/doc/blob/8ef3a57525b6eb66f674cb81326f7b5c6a481368/xt/words.pws#L1125) |
sqrt
|
| [perlpilot/p6-Astro-Sunrise``…/Sunrise.pm6`` :*138*:](https://github.com/perlpilot/p6-Astro-Sunrise/blob/10f748bfe733fbc5081b019533c83ed5b003176d/lib/Astro/Sunrise.pm6#L138) |
sqrt( 1.0 - $Eccentricity\_of\_Earth\_orbit \* $Eccentricity\_of\_Earth\_orbit )
|
| [perlpilot/p6-Astro-Sunrise``…/Sunrise.pm6`` :*141*:](https://github.com/perlpilot/p6-Astro-Sunrise/blob/10f748bfe733fbc5081b019533c83ed5b003176d/lib/Astro/Sunrise.pm6#L141) |
my $Solar\_distance = sqrt( $x \* $x + $y \* $y ); # Solar distance
|
| [perlpilot/p6-Astro-Sunrise``…/Sunrise.pm6`` :*171*:](https://github.com/perlpilot/p6-Astro-Sunrise/blob/10f748bfe733fbc5081b019533c83ed5b003176d/lib/Astro/Sunrise.pm6#L171) |
my $dec = atan2d( $z, sqrt( $x \* $x + $y \* $y ) );
|
| [perlpilot/p6-Math-Trig``…/Trig.pm`` :*50*:](https://github.com/perlpilot/p6-Math-Trig/blob/37c98b838b04050030a7b8e9acc71ccd1cc21773/lib/Math/Trig.pm#L50) |
my $rho = sqrt($x\*$x + $y\*$y + $z\*$z);
|
| [perlpilot/p6-Math-Trig``…/Trig.pm`` :*64*:](https://github.com/perlpilot/p6-Math-Trig/blob/37c98b838b04050030a7b8e9acc71ccd1cc21773/lib/Math/Trig.pm#L64) |
( sqrt( $x \* $x + $y \* $y ), $theta, $z );
|
| [perlpilot/p6-Math-Trig``…/Trig.pm`` :*69*:](https://github.com/perlpilot/p6-Math-Trig/blob/37c98b838b04050030a7b8e9acc71ccd1cc21773/lib/Math/Trig.pm#L69) |
( sqrt( $x \* $x + $y \* $y ), atan2( $y, $x ), $z );
|
| [perlpilot/p6-Math-Trig``…/03-radial.t`` :*9*:](https://github.com/perlpilot/p6-Math-Trig/blob/37c98b838b04050030a7b8e9acc71ccd1cc21773/t/03-radial.t#L9) |
is-approx($r, sqrt(2), '');
|
| [perlpilot/p6-Math-Trig``…/03-radial.t`` :*19*:](https://github.com/perlpilot/p6-Math-Trig/blob/37c98b838b04050030a7b8e9acc71ccd1cc21773/t/03-radial.t#L19) |
is-approx($r, sqrt(2), '');
|
| [perlpilot/p6-Math-Trig``…/03-radial.t`` :*32*:](https://github.com/perlpilot/p6-Math-Trig/blob/37c98b838b04050030a7b8e9acc71ccd1cc21773/t/03-radial.t#L32) |
is-approx($r, sqrt(3), '');
|
| [perlpilot/p6-Math-Trig``…/03-radial.t`` :*34*:](https://github.com/perlpilot/p6-Math-Trig/blob/37c98b838b04050030a7b8e9acc71ccd1cc21773/t/03-radial.t#L34) |
is-approx($f, atan2(sqrt(2), 1), '');
|
| [perlpilot/p6-Math-Trig``…/03-radial.t`` :*42*:](https://github.com/perlpilot/p6-Math-Trig/blob/37c98b838b04050030a7b8e9acc71ccd1cc21773/t/03-radial.t#L42) |
is-approx($r, sqrt(2), '');
|
| [pierre-vigier/Perl6-Math-Matrix``…/Matrix.pm6`` :*632*:](https://github.com/pierre-vigier/Perl6-Math-Matrix/blob/65e547bcf100812cb1513727ff270a380e395e6d/lib/Math/Matrix.pm6#L632) |
@D[$k][$k] = sqrt @D[$k][$k];
|
| [pierre-vigier/Perl6-Math-Matrix``…/022-converter.t`` :*19*:](https://github.com/pierre-vigier/Perl6-Math-Matrix/blob/65e547bcf100812cb1513727ff270a380e395e6d/t/022-converter.t#L19) |
is +$matrixi, sqrt(30) , "content is correct in numeric context by prefix op";
|
| [pierre-vigier/Perl6-Math-Matrix``…/031-property-num.t`` :*124*:](https://github.com/pierre-vigier/Perl6-Math-Matrix/blob/65e547bcf100812cb1513727ff270a380e395e6d/t/031-property-num.t#L124) |
ok $identity.norm == sqrt(3) ,"Identity matrix norm equals rank";
|
| [pierre-vigier/Perl6-Math-Matrix``…/031-property-num.t`` :*125*:](https://github.com/pierre-vigier/Perl6-Math-Matrix/blob/65e547bcf100812cb1513727ff270a380e395e6d/t/031-property-num.t#L125) |
ok $diagonal.norm == sqrt(14) ,"Norm of diagonal matrix is equal trace in euclid space";
|
| [pierre-vigier/Perl6-Math-Matrix``…/031-property-num.t`` :*126*:](https://github.com/pierre-vigier/Perl6-Math-Matrix/blob/65e547bcf100812cb1513727ff270a380e395e6d/t/031-property-num.t#L126) |
ok $diagonal.norm(:p\<2\>) == sqrt(14), "2,1 Norm with one default value";
|
| [pierre-vigier/Perl6-Math-Matrix``…/031-property-num.t`` :*131*:](https://github.com/pierre-vigier/Perl6-Math-Matrix/blob/65e547bcf100812cb1513727ff270a380e395e6d/t/031-property-num.t#L131) |
ok $diagonal.norm(:p\<2\>,:q\<2\>) == sqrt(14),"Frobenius norm";
|
| [raydiak/Image-PNG-Portable``…/mandelbrot.p6`` :*24*:](https://github.com/raydiak/Image-PNG-Portable/blob/def950367201a02c098ab7acea6fd1f4468d4eca/examples/mandelbrot.p6#L24) |
5 \*\* ((1 + 5.sqrt) / 2), # phi (just cuz)
|
| [raydiak/Math--ThreeD``…/gen-vec3.p6`` :*82*:](https://github.com/raydiak/Math--ThreeD/blob/e2245b8b8bc1532385e6fcd949ef0ad507fb221c/gen-vec3.p6#L82) |
expression =\> 'sqrt( $a[0]\*$a[0] + $a[1]\*$a[1] + $a[2]\*$a[2] )',
|
| [raydiak/Math--ThreeD``…/01-basics.t`` :*16*:](https://github.com/raydiak/Math--ThreeD/blob/e2245b8b8bc1532385e6fcd949ef0ad507fb221c/t/01-basics.t#L16) |
ok (length(Vec3.new(1.0, 2.0, 3.0)) - 14.sqrt) \< 1e-10, "length works";
|
| [raydiak/Math--ThreeD``…/01-basics.t`` :*17*:](https://github.com/raydiak/Math--ThreeD/blob/e2245b8b8bc1532385e6fcd949ef0ad507fb221c/t/01-basics.t#L17) |
ok (length(Vec3.new(5.0, 4.0, 2.0)) - 45.sqrt) \< 1e-10, "length works";
|
| [raydiak/Math-Symbolic``…/Symbolic.pm6`` :*152*:](https://github.com/raydiak/Math-Symbolic/blob/c7e3a622c3595b2787970bc872c2fd7b74c2fe03/lib/Math/Symbolic.pm6#L152) |
# sqrt
|
| [raydiak/Math-Symbolic``…/Symbolic.pm6`` :*157*:](https://github.com/raydiak/Math-Symbolic/blob/c7e3a622c3595b2787970bc872c2fd7b74c2fe03/lib/Math/Symbolic.pm6#L157) |
$node.content = %ops\<sqrt\>;
|
| [raydiak/Math-Symbolic``…/Symbolic.pm6`` :*623*:](https://github.com/raydiak/Math-Symbolic/blob/c7e3a622c3595b2787970bc872c2fd7b74c2fe03/lib/Math/Symbolic.pm6#L623) |
# sqrt -\> power
|
| [raydiak/Math-Symbolic``…/Symbolic.pm6`` :*624*:](https://github.com/raydiak/Math-Symbolic/blob/c7e3a622c3595b2787970bc872c2fd7b74c2fe03/lib/Math/Symbolic.pm6#L624) |
elsif $node = $tree.find( :type\, :content\<sqrt\> ) {
|
| [raydiak/Math-Symbolic``…/Language.pm6`` :*185*:](https://github.com/raydiak/Math-Symbolic/blob/c7e3a622c3595b2787970bc872c2fd7b74c2fe03/lib/Math/Symbolic/Language.pm6#L185) |
:name\<sqrt\>,
|
| [raydiak/Math-Symbolic``…/Language.pm6`` :*211*:](https://github.com/raydiak/Math-Symbolic/blob/c7e3a622c3595b2787970bc872c2fd7b74c2fe03/lib/Math/Symbolic/Language.pm6#L211) |
:inverse\<sqrt\>
|
| [raydiak/pray``…/Cone.pm6`` :*8*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Geometry/Cone.pm6#L8) |
has $.max\_radius = sqrt(2);
|
| [raydiak/pray``…/Cone.pm6`` :*43*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Geometry/Cone.pm6#L43) |
$det\_root = sqrt $determinant;
|
| [raydiak/pray``…/Cone.pm6`` :*59*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Geometry/Cone.pm6#L59) |
.scale( 1 / sqrt(1.25) ), # norm w/known length
|
| [raydiak/pray``…/Cube.pm6`` :*8*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Geometry/Cube.pm6#L8) |
has $.max\_radius = sqrt(3); # is the default, just here for consistency
|
| [raydiak/pray``…/Cylinder.pm6`` :*8*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Geometry/Cylinder.pm6#L8) |
has $.max\_radius = sqrt(2);
|
| [raydiak/pray``…/Cylinder.pm6`` :*36*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Geometry/Cylinder.pm6#L36) |
$det\_root = sqrt $determinant;
|
| [raydiak/pray``…/Object.pm6`` :*23*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Geometry/Object.pm6#L23) |
has $.max\_radius = sqrt(3);
|
| [raydiak/pray``…/Sphere.pm6`` :*32*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Geometry/Sphere.pm6#L32) |
$det\_root = sqrt $determinant;
|
| [raydiak/pray``…/Vector3D.pm6`` :*36*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Geometry/Vector3D.pm6#L36) |
!$sqr \|\| $sqr == 1 ?? $sqr !! sqrt $sqr;
|
| [raydiak/pray``…/Vector3D.pm6`` :*58*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Geometry/Vector3D.pm6#L58) |
self.scale( $length / sqrt($current\_length\_sqr), :$in )
|
| [raydiak/pray``…/Camera.pm6`` :*49*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Scene/Camera.pm6#L49) |
atan2($y, $x), atan2($z, sqrt($x\*$x + $y\*$y));
|
| [raydiak/pray``…/Intersection.pm6`` :*27*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Scene/Intersection.pm6#L27) |
sqrt(
|
| [raydiak/pray``…/Lighting.pm6`` :*153*:](https://github.com/raydiak/pray/blob/33077fac681b0a2a19823960e7b780656a5c93aa/lib/Pray/Scene/Lighting.pm6#L153) |
$cos\_theta\_2 .= sqrt;
|
| [spebern/Parser-FreeXL-Native``…/config-msvc.h`` :*25*:](https://github.com/spebern/Parser-FreeXL-Native/blob/9dd80a1d20d4ca666053b05a7ce04332226d7ea8/stub/config-msvc.h#L25) |
/\* Define to 1 if you have the \`sqrt' function. \*/
|
| [spebern/Parser-FreeXL-Native``…/config.h.in`` :*22*:](https://github.com/spebern/Parser-FreeXL-Native/blob/9dd80a1d20d4ca666053b05a7ce04332226d7ea8/stub/config.h.in#L22) |
/\* Define to 1 if you have the \`sqrt' function. \*/
|
| [spebern/Parser-FreeXL-Native``…/configure`` :*17001*:](https://github.com/spebern/Parser-FreeXL-Native/blob/9dd80a1d20d4ca666053b05a7ce04332226d7ea8/stub/configure#L17001) |
for ac\_func in sqrt strcasecmp strerror strncasecmp strstr strerror
|
| [spebern/Parser-FreeXL-Native``…/configure.ac`` :*46*:](https://github.com/spebern/Parser-FreeXL-Native/blob/9dd80a1d20d4ca666053b05a7ce04332226d7ea8/stub/configure.ac#L46) |
AC\_CHECK\_FUNCS([sqrt strcasecmp strerror strncasecmp strstr strerror])
|
| [timo/cairo-p6``…/image-pattern.p6`` :*16*:](https://github.com/timo/cairo-p6/blob/fd1ef66b90ef87d50c6872ed5ed5025cfe993835/doc/examples/image-pattern.p6#L16) |
.scale(1 / sqrt(2), 1 / sqrt(2));
|
| [titsuki/p6-Algorithm-KdTree``…/README.md`` :*23*:](https://github.com/titsuki/p6-Algorithm-KdTree/blob/b1d5bddba093c52855878a083ad4395fb3184b29/README.md#L23) |
my $range-response = $kdtree.nearest-range([9e0,9e0,9e0], sqrt(5));
|
| [titsuki/p6-Algorithm-KdTree``…/KdTree.pm6`` :*66*:](https://github.com/titsuki/p6-Algorithm-KdTree/blob/b1d5bddba093c52855878a083ad4395fb3184b29/lib/Algorithm/KdTree.pm6#L66) |
my $range-response = $kdtree.nearest-range([9e0,9e0,9e0], sqrt(5));
|
| [titsuki/p6-Algorithm-KdTree``…/04-nearest-range.t`` :*13*:](https://github.com/titsuki/p6-Algorithm-KdTree/blob/b1d5bddba093c52855878a083ad4395fb3184b29/t/04-nearest-range.t#L13) |
my $res = $kdtree.nearest-range([11e0,11e0], sqrt(2e0) - 1e-9);
|
| [titsuki/p6-Algorithm-KdTree``…/04-nearest-range.t`` :*24*:](https://github.com/titsuki/p6-Algorithm-KdTree/blob/b1d5bddba093c52855878a083ad4395fb3184b29/t/04-nearest-range.t#L24) |
my $res = $kdtree.nearest-range([11e0,11e0], sqrt(2e0));
|
| [titsuki/p6-Algorithm-KdTree``…/04-nearest-range.t`` :*36*:](https://github.com/titsuki/p6-Algorithm-KdTree/blob/b1d5bddba093c52855878a083ad4395fb3184b29/t/04-nearest-range.t#L36) |
my $res = $kdtree.nearest-range([11e0,11e0], sqrt(2e0) + 1e-9);
|
| [titsuki/p6-Algorithm-KdTree``…/04-nearest-range.t`` :*48*:](https://github.com/titsuki/p6-Algorithm-KdTree/blob/b1d5bddba093c52855878a083ad4395fb3184b29/t/04-nearest-range.t#L48) |
my $res = $kdtree.nearest-range([-1e0,-1e0], sqrt(2e0) - 1e-9);
|
| [titsuki/p6-Algorithm-KdTree``…/04-nearest-range.t`` :*59*:](https://github.com/titsuki/p6-Algorithm-KdTree/blob/b1d5bddba093c52855878a083ad4395fb3184b29/t/04-nearest-range.t#L59) |
my $res = $kdtree.nearest-range([-1e0,-1e0], sqrt(2e0));
|
| [titsuki/p6-Algorithm-KdTree``…/04-nearest-range.t`` :*71*:](https://github.com/titsuki/p6-Algorithm-KdTree/blob/b1d5bddba093c52855878a083ad4395fb3184b29/t/04-nearest-range.t#L71) |
my $res = $kdtree.nearest-range([-1e0,-1e0], sqrt(2e0) + 1e-9);
|
| [tony-o/perl6-html-parser-xml``…/S05.html`` :*2582*:](https://github.com/tony-o/perl6-html-parser-xml/blob/8eeaf21826646a8805d0191b64b4e71e092e2bbc/t/data/S05.html#L2582) |
\ / (\\d) { make $0.sqrt } Remainder /;\
|