Macros | |
| #define | MIRML_SQR(a) ( ( a ) * ( a ) ) |
| Squaring. | |
| #define | MIRML_IS_ODD(n) ((n) & 1) |
| #define | MIRML_IS_EVEN(n) (!(MIRML_IS_ODD(n))) |
| #define | MIRML_SIGN(x) ((x) >= 0.0 ? 1 : -1) |
Functions | |
| void | mirml_sort_four (double *a, double *b, double *c, double *d) |
| Sorts four input numbers and returns them sorted. | |
| void mirml_sort_four | ( | double * | a, |
| double * | b, | ||
| double * | c, | ||
| double * | d | ||
| ) |
Sorts four input numbers and returns them sorted.
On output a <= b <= c <= d.