implement fsqrt