Simplify some functions using fcppt::math