Math utilities.
More...
#include <yatemath.h>
Math utilities.
This class global Math utility methods
◆ dumpComplex()
static String & dumpComplex |
( |
String & | buf, |
|
|
const Complex & | val, |
|
|
const char * | sep = 0, |
|
|
const char * | fmt = 0 ) |
|
static |
Dump a Complex number to a String
- Parameters
-
buf | Destination string |
val | Value to dump |
sep | Optional separator |
fmt | Format to use ("%g%+gi" if not given) |
- Returns
- Destination string address
Referenced by TelEngine::operator<<().
◆ dumpFloat()
static String & dumpFloat |
( |
String & | buf, |
|
|
const float & | val, |
|
|
const char * | sep = 0, |
|
|
const char * | fmt = 0 ) |
|
static |
Dump a float number to a String
- Parameters
-
buf | Destination string |
val | Value to dump |
sep | Optional separator |
fmt | Format to use ("%g" if not given) |
- Returns
- Destination string address
The documentation for this class was generated from the following file: