Add floor, ceil and frac functions and AST printing