GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
QwtScaleArithmetic(3) Qwt User's Guide QwtScaleArithmetic(3)

QwtScaleArithmetic -

#include <qwt_scale_engine.h>


static double ceil125 (double x)
 
static double ceilEps (double value, double intervalSize)
 
static int compareEps (double value1, double value2, double intervalSize)
 
static double divideEps (double interval, double steps)
 
static double floor125 (double x)
 
static double floorEps (double value, double intervalSize)
 

Arithmetic including a tolerance.

Find the smallest value out of {1,2,5}*10^n with an integer number n which is greater than or equal to x
Parameters:
x Input value

Ceil a value, relative to an interval
Parameters:
value Value to ceil
 
intervalSize Interval size
See also:
floorEps()

Compare 2 values, relative to an interval. Values are 'equal', when : $dot value2 - value1 <= abs(intervalSize * 10e^{-6})$
Parameters:
value1 First value to compare
 
value2 Second value to compare
 
intervalSize interval size
Returns:
0: if equal, -1: if value2 > value1, 1: if value1 > value2

Divide an interval into steps. $stepSize = (intervalSize - intervalSize * 10e^{-6}) / numSteps$.PP Parameters:
intervalSize Interval size
 
numSteps Number of steps
Returns:
Step size

Find the largest value out of {1,2,5}*10^n with an integer number n which is smaller than or equal to x. Parameters:
x Input value

Floor a value, relative to an interval
Parameters:
value Value to floor
 
intervalSize Interval size
See also:
floorEps()

Generated automatically by Doxygen for Qwt User's Guide from the source code.
Tue Nov 20 2012 Version 5.2.3

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.