프로그래밍 언어/Delphi
[Reference] System.Sqrt
얗마
2017. 3. 18. 09:46
Delphi
function Sqrt(const X: Extended): Extended;
C++
extern PACKAGE Extended __fastcall Sqrt(const Extended X);
Properties
Type |
Visibility |
Source |
Unit |
Parent |
function |
public |
System.pas System.hpp |
Description
Returns the square root of X.
X is a Delphi floating-point expression.
The result is the square root of X.
X의 제곱근을 반환합니다.
X는 델파이 부동 소수점 표현입니다.
결과는 X의 제곱근입니다.
Example
var Num: Single;
begin Num := 0.5;
// 7.07106781186548E-0001 Writeln(Sqrt(Num)); Readln; end. |
square 미국식 [skwer] 1. 정사각형 모양의 제곱근 |
출처: http://docwiki.embarcadero.com/Libraries/XE2/en/System.Sqrt