Source code of funcalc by CreatorB