--- Quote Start ---
you would just pass the Q value to add sub. the remainder would usually be discarded. The trick is aligning the fixed point properly to only discard a remainder that has an insignificant affect on the output.
Fixed point is just integer with a 2^n offset.
--- Quote End ---
Thank you for your reply.
i examined a simple example acording to your reply. let the data to be squared is 0.0625, so; the corresponding value is x"0010" in 16-bit precision fixed point. the input radical of the altsqrt should be modified as x"00001000", in order to discard remainder. if so, q shows the result as x"0040" which corresponds 0.25 that is sqrt of 0.0625. am i correct?
Regards.
Bedri