interface Numeric
Common interface implemented by all numeric types, providing basic arithmetic functions.
Common interface implemented by all numeric types, providing basic arithmetic functions.
| Name | Type | Details |
|---|---|---|
| $num | Dse\Numeric |
a number to add to this one |
| Type | Details |
|---|---|
Dse\Numeric |
sum |
| Name | Type | Details |
|---|---|---|
| $num | Dse\Numeric |
a number to subtract from this one |
| Type | Details |
|---|---|
Dse\Numeric |
difference |
| Name | Type | Details |
|---|---|---|
| $num | Dse\Numeric |
a number to multiply this one by |
| Type | Details |
|---|---|
Dse\Numeric |
product |
| Name | Type | Details |
|---|---|---|
| $num | Dse\Numeric |
a number to divide this one by |
| Type | Details |
|---|---|
Dse\Numeric |
quotient |
| Name | Type | Details |
|---|---|---|
| $num | Dse\Numeric |
a number to divide this one by |
| Type | Details |
|---|---|
Dse\Numeric |
remainder |
Dse\Numeric | Type | Details |
|---|---|
Dse\Numeric |
absolute value |
Dse\Numeric | Type | Details |
|---|---|
Dse\Numeric |
negative value |
Dse\Numeric | Type | Details |
|---|---|
Dse\Numeric |
square root |