Skip to content

Commit fbd1040

Browse files
committed
Added Math_IEEERemainder and Math_NthRoot articles
1 parent d1c2836 commit fbd1040

4 files changed

Lines changed: 55 additions & 1 deletion

File tree

docs2/pages/documentations/math/math-cube-root.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ The cube root of a `value`.
1919
## Example
2020

2121
```csharp
22-
SELECT SQLNET::Math_CubeRoot(2147483647)
22+
SELECT SQLNET::Math_CubeRoot(8)
2323
```
2424

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Math_IEEERemainder
2+
3+
`Math_IEEERemainder` returns the remainder resulting from the division of a specified number by another specified number.
4+
5+
```csharp
6+
Math_IEEERemainder (
7+
@x INT,
8+
@y INT)
9+
RETURNS BIGINT
10+
```
11+
12+
## Parameters
13+
14+
- **x**: A dividend.
15+
- **y**: A divisor
16+
17+
## Returns
18+
19+
A number equal to `x` - (`y` Q), where Q is the quotient of `x` / `y` rounded to the nearest integer (if `x` / `y` falls halfway between two integers, the even integer is returned).
20+
21+
## Example
22+
23+
```csharp
24+
SELECT SQLNET::Math_IEEERemainder(3, 2)
25+
SELECT SQLNET::Math_IEEERemainder(-16.3, 4.1)
26+
```
27+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Math_NthRoot
2+
3+
`Math_NthRoot` returns the nth root of a specified number.
4+
5+
```csharp
6+
Math_NthRoot (
7+
@value FLOAT (53),
8+
@nth FLOAT (53))
9+
RETURNS FLOAT (53)
10+
```
11+
12+
## Parameters
13+
14+
- **value**: The number whose nth root is to be found.
15+
16+
## Returns
17+
18+
The nth root of a `value`.
19+
20+
## Example
21+
22+
```csharp
23+
SELECT SQLNET::Math_NthRoot(8)
24+
```
25+

docs2/pages/documentations/math/math.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ Provides methods for trigonometric, and other common mathematical functions.
77
| [Math_BigMul(a, b)](/math-bigmul) | Produces the full product of two 32-bit numbers. | [Try it]()|
88
| [Math_Cosh(value)](/math-cosh) | Returns the hyperbolic cosine of the specified angle. | [Try it]()|
99
| [Math_CubeRoot(value)](/math-cube-root) | Returns the cube root of a specified number. | [Try it]()|
10+
| [Math_IEEERemainder(value)](/math-cube-root) | Returns the remainder resulting from the division of a specified number by another specified number. | [Try it]()|
11+
| [Math_NthRoot(value, nth)](/math-nth-root) | Returns the nth root of a specified number. | [Try it]()|
1012

0 commit comments

Comments
 (0)