remove unused is_var_or_arithmetic
replaced is_fvar_double, is_fvar_fvar_double, etc. with boost::is_same