macros for arithmetic expression evaluation error handling. Comparison operators for floating-point values. Some fixes on loop-like (tml::apply_XX) algorithms