Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TCplx Min(const TCplx &X, const TCplx &Y); | Minimum of two numbers. |
| 2 | TSCplx Min(const TSCplx &X, const TSCplx &Y); | |
| 3 | double Min(double X, double Y); | Minimum of two real numbers X and Y. |
| 4 | int Min(int X, int Y); | Minimum of two integer numbers X and Y. |
| 5 | long long Min(long long X, long long Y); | Minimum of two 64bit integer numbers X and Y. |
| 6 | long long Min(long long X, int Y); | |
| 7 | long long Min(int X, long long Y); | |
| 8 | double Min(int X, double Y); | |
| 9 | double Min(double X, int Y); |
Overload 1: TCplx Min(const TCplx &X, const TCplx &Y);
Minimum of two numbers.
Returns: the minimum of two complex numbers X and Y.
Remarks:
Complex numbers are first compared by the absolute value. If they are equal they are further compared by the unwrapped phase -PI,PI angle.
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 2: TSCplx Min(const TSCplx &X, const TSCplx &Y);
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 3: double Min(double X, double Y);
Minimum of two real numbers X and Y.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | double | |
| 2 | Y | double |
Returns: the minimum of two real numbers X and Y.
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 4: int Min(int X, int Y);
Minimum of two integer numbers X and Y.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | int | |
| 2 | Y | int |
Returns: the minimum of two integer numbers X and Y.
See Also: Math387::Max
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 5: long long Min(long long X, long long Y);
Minimum of two 64bit integer numbers X and Y.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | long long | |
| 2 | Y | long long |
Returns: the minimum of two 64bit integer numbers X and Y.
See Also: Math387::Max
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 6: long long Min(long long X, int Y);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | long long | |
| 2 | Y | int |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 7: long long Min(int X, long long Y);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | int | |
| 2 | Y | long long |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 8: double Min(int X, double Y);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | int | |
| 2 | Y | double |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 9: double Min(double X, int Y);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | double | |
| 2 | Y | int |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler