Parent Directory | Revision Log
Sticky Revision: |
NKSP: Introducing variable return type for built-in functions. * Changed method signature VMFunction::returnType() -> VMFunction::returnType(VMFnArgs* args) to allow built-in functions to proclaim a different result value type depending on the arguments to be passed to the function. * Built-in script function abs() optionally accepts and returns real number. * Built-in script functions min() and max() optionally accept real number arguments and return real number as result in that case. * Added real number test cases for the built-in abs(), min() and max() functions. * Bumped version (2.1.1.svn7).
NKSP: Added some initial floating point test cases. * RTMath: Implemented floating point comparison methods fEqual32(float,float) and fEqual64(double,double) which take the expected floating point tolerances into account. * NKSP: Allow built-in exit() function to potentially accept real type argument as well. * NKSP: Added real number test cases for built-in functions exit(), int_to_real(), real(), real_to_int() and int(), as well as for the plus, minus and negate language operators.
* Added test cases for NKSP core language aspects and core built-in functions. * NKSP: Added method ScriptVM::setExitResultEnabled() which allows to explicitly enable the built-in exit() function to optionally accept one function argument; the value of the passed exit() function argument will then become available by calling VMExecContext::exitResult() after script execution. * Bumped version (2.1.1.svn2).
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
ViewVC Help | |
Powered by ViewVC |