Scol standard library package
0.3.1
Common and usefull functions for all Scol applications
|
Scol Standard Library - Floatting point numbers API. More...
Functions | |
std_fClamp (f, startf, endf) | |
Clamp a float number in a range. | |
std_fCmp (f1, f2) | |
Compare two float numbers (depending of epsilon) | |
std_fDivide (f1, f2) | |
Perform a division between two float numbers The function returns a tuple : the result, the entire and the decimal parts of the result. | |
std_fEpsilonGet () | |
Get the 'epsilon' to compare deux floating point numbers. | |
std_fEpsilonSet (f) | |
Set the 'epsilon' to compare deux floating point numbers. | |
std_fInRange (f, startf, endf) | |
Return if a a float number in a range. | |
std_fIntDec (f) | |
Return the entire and the decimal parts of a float number. | |
std_fIsZero (f) | |
Return if a float number is near at zero (depending of epsilon) | |
std_vectorIsEqualF (v1, v2) | |
Return if two float vectors are equals. |
Variables | |
var | STD_LOOP_EPSILON = 0.000001 |
Detailed Description
Scol Standard Library - Floatting point numbers API.
- Version
- 0.1
- Copyright
- GNU Lesser General Public License 2.0 or later
This API provides some functions to manipulate the floatting point numbers (F)
Generated on Sat Jan 31 2015 19:15:42 for Scol standard library package by 1.8.1.2