add hypot and hypotf function for libm