Inheritance Graph
graph BT
Number
Number --> Object
click Number "classEScript_1_1Number"
click Object "classEScript_1_1Object"
Description
Public Static Functions
Public Functions
Documentation
function
EScript::Number::getTypeObject
Defined in EScript/EScript/Objects/Values/Number.h:27
function
EScript::Number::init
Defined in EScript/EScript/Objects/Values/Number.h:28
function
EScript::Number::create
Defined in EScript/EScript/Objects/Values/Number.h:31
function
EScript::Number::release
Defined in EScript/EScript/Objects/Values/Number.h:32
function
EScript::Number::matches
|
|
|
|
|
|
bool matches( |
const float |
u, |
|
const float |
v |
) |
|
|
Test if the two parameters are essentially equal as defined in the given reference by Knuth.
Parameters
- u
- First floating point parameter.
- v
- Second floating point parameter.
Returns
true
if both floating point values are essentially equal,false
otherwise.
See also: Donald E. Knuth: The art of computer programming. Volume II: Seminumerical algorithms. Addison-Wesley, 1969. Page 128, Equation (24).
Defined in EScript/EScript/Objects/Values/Number.h:47
function
EScript::Number::Number
Defined in EScript/EScript/Objects/Values/Number.h:51
function
EScript::Number::~Number
Defined in EScript/EScript/Objects/Values/Number.h:52
function
EScript::Number::operator*
Defined in EScript/EScript/Objects/Values/Number.h:54
function
EScript::Number::operator*
Defined in EScript/EScript/Objects/Values/Number.h:55
function
EScript::Number::format
|
|
|
|
|
|
std::string format( |
std::streamsize |
precision, |
|
bool |
scientific, |
|
std::streamsize |
width, |
|
char |
fill |
) const |
|
|
Convert the number to a string configurable string representation.
Parameters
- precision
- Number of digits after the decimal point.
- scientific
- Switch for scientific or fixed-point notation.
- width
- Number of digits for padding.
- fill
- Character to use for padding.
Returns
Formatted string representation of the number.
Defined in EScript/EScript/Objects/Values/Number.h:66
function
EScript::Number::modulo
|
|
|
|
|
|
double modulo( |
const double |
m ) const |
Floating point symmetric modulo operation.
Defined in EScript/EScript/Objects/Values/Number.h:69
function
EScript::Number::getValue
Defined in EScript/EScript/Objects/Values/Number.h:71
function
EScript::Number::setValue
Defined in EScript/EScript/Objects/Values/Number.h:72
function
EScript::Number::clone
public |
const |
inline |
virtual |
Defined in EScript/EScript/Objects/Values/Number.h:75
function
EScript::Number::toString
o
Defined in EScript/EScript/Objects/Values/Number.h:77
function
EScript::Number::toDouble
public |
const |
inline |
virtual |
o
Defined in EScript/EScript/Objects/Values/Number.h:78
function
EScript::Number::rt_isEqual
o
Note: For camparing objects, never use this function directly but use isEqual(…) instead. Otherwise scripted ‘==’-member functions are not supported.
Defined in EScript/EScript/Objects/Values/Number.h:79
function
EScript::Number::_getInternalTypeId
public |
const |
inline |
virtual |
o For internal use only.
Defined in EScript/EScript/Objects/Values/Number.h:80