Overload List
Overload 1: function Sqrt(const X: Double): Double;
Square root.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Double |
Returns: Double - Returns double precision square root of the given number X.
Remarks:
Math387.Sqrt uses SSE2 SQRTSD on Win32/Win64 (single hardware instruction) via the SVML override path; non-Windows targets fall back to System.Sqrt through the PURE_PASCAL include. Faster than the x87-FPU FSQRT that Delphi's built-in System.Sqrt historically used.
Overload 2: function Sqrt(const Src: Integer): Double;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | Integer |
Returns: Double
Overload 3: function Sqrt(const Src: Int64): Double;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | Int64 |
Returns: Double
Overload 4: function Sqrt(const Src: Single): Single;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | Single |
Returns: Single
Overload 5: function Sqrtf(const Src: Integer): Single;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | Integer |
Returns: Single
Overload 6: function Sqrtf(const Src: Int64): Single;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | Int64 |
Returns: Single
Overload 7: function Sqrtf(const X: Single): Single;
Square root.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Single |
Returns: Single - Returns single precision square root of the given number X.