1 Description of EvalMath library import into Moodle
4 * implicit multiplication (optionally) not allowed
5 * new custom calc emulation functions
6 * removed (optionally) e and pi constants - not used in calc
8 * Fix a == FALSE that should have been === FALSE.
9 * added $expecting_op = true; for branch where a function with no operands is found to fix bug.
10 * moved pattern for func and var names into a static var
11 * made a function to test a string to see if it is a valid func or var name.
13 * added round, ceil and floor functions.
14 * EvalMath::EvalMath() changed to EvalMath::__construct() and there is a new EvalMath::EvalMath
15 function to maintain backwards compatibility
17 To see all changes diff against version 1.1, available from:
18 http://www.phpclasses.org/browse/package/2695.html