Overload List
| # | Signature | Description |
|---|---|---|
| 1 | DewString CplxToStr(const TCplx &Z, const int Digits = 0, int Precision = 15); | Converts complex number to a string. |
| 2 | DewString CplxToStr(const TSCplx &Z, const int Digits = 0, int Precision = 7); |
Overload 1: DewString CplxToStr(const TCplx &Z, const int Digits = 0, int Precision = 15);
Converts complex number to a string.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | const TCplx & | |
| 2 | Digits = 0 | const int | |
| 3 | Precision = 15 | int |
Returns: complex number, converted to string.
Remarks:
The Digits parameter controls the minimum number of zeros in the exponent (between 0 and 4). The conversion uses general number format with 15 significant digits for double precision and 7 digits if you are using single precision version of Math387.
See Also: Math387::StrToCplx
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 2: DewString CplxToStr(const TSCplx &Z, const int Digits = 0, int Precision = 7);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | const TSCplx & | |
| 2 | Digits = 0 | const int | |
| 3 | Precision = 7 | int |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler