fixed functional_detail::FloatType
added tests for arithm functions