Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double EnsureRange(const double Low, const double X, const double High); | Limits the value. |
| 2 | int EnsureRange(const int Low, const int X, const int High); | Limits the value. |
| 3 | long long EnsureRange(const long long Low, const long long X, const long long High); |
Overload 1: double EnsureRange(const double Low, const double X, const double High);
Limits the value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Low | const double | |
| 2 | X | const double | |
| 3 | High | const double |
Returns: Low if X is smaller then Low and High if X is bigger then High.
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 2: int EnsureRange(const int Low, const int X, const int High);
Limits the value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Low | const int | |
| 2 | X | const int | |
| 3 | High | const int |
Remarks:
Parameters can be integers.
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 3: long long EnsureRange(const long long Low, const long long X, const long long High);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Low | const long long | |
| 2 | X | const long long | |
| 3 | High | const long long |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler