implement fsqrt in C