double fun(double *a, double *b) { double sqrt_a = sqrt(*a), sqrt_b = sqrt(*b); return sqrt_a + sqrt_b; }