sqrt

get square root of given value


Parameters

sqrt value :integer :floating :complex :rational

Attributes

integerget the integer square root

Returns

  • :floating

Examples

copy
print sqrt 4 ; 2.0 print sqrt 16.0 ; 4.0 print sqrt 1.45 ; 1.20415945787923

copy
sqrt to :complex @[pi 1] ; => 1.794226987182141+0.2786715413222365i

Related