added functions exp, log2 and ceil.