Arithmetic including a tolerance.
Más...
#include <qwt_scale_engine.h>
Lista de todos los miembros.
Métodos públicos estáticos |
static int | compareEps (double value1, double value2, double intervalSize) |
| Compare 2 values, relative to an interval.
|
static double | ceilEps (double value, double intervalSize) |
static double | floorEps (double value, double intervalSize) |
static double | divideEps (double interval, double steps) |
static double | ceil125 (double x) |
static double | floor125 (double x) |
| Find the largest value out of {1,2,5}*10^n with an integer number n which is smaller than or equal to x.
|
Descripción detallada
Arithmetic including a tolerance.
Documentación de las funciones miembro
double QwtScaleArithmetic::ceil125 |
( |
double |
x | ) |
[static] |
Find the smallest value out of {1,2,5}*10^n with an integer number n which is greater than or equal to x
- Parámetros:
-
double QwtScaleArithmetic::ceilEps |
( |
double |
value, |
|
|
double |
intervalSize |
|
) |
| [static] |
Ceil a value, relative to an interval
- Parámetros:
-
- Ver también:
- floorEps
int QwtScaleArithmetic::compareEps |
( |
double |
value1, |
|
|
double |
value2, |
|
|
double |
intervalSize |
|
) |
| [static] |
Compare 2 values, relative to an interval.
Values are "equal", when :
- Parámetros:
-
value1 | First value to compare |
value2 | Second value to compare |
intervalSize | interval size |
- Devuelve:
- 0: if equal, -1: if value2 > value1, 1: if value1 > value2
double QwtScaleArithmetic::divideEps |
( |
double |
interval, |
|
|
double |
steps |
|
) |
| [static] |
double QwtScaleArithmetic::floor125 |
( |
double |
x | ) |
[static] |
Find the largest value out of {1,2,5}*10^n with an integer number n which is smaller than or equal to x.
- Parámetros:
-
double QwtScaleArithmetic::floorEps |
( |
double |
value, |
|
|
double |
intervalSize |
|
) |
| [static] |
Floor a value, relative to an interval
- Parámetros:
-
- Ver también:
- floorEps
La documentación para esta clase fue generada a partir de los siguientes ficheros: