c - Determining if an integer is a perfect square in assembly (mips32) -


i know how in c. compute square root, take modulus 10 of square root. if modulus 0 it's perfect square.

but how can in assembly, since can't square root in it. there easier way?

have had @ newton's method?

http://en.wikipedia.org/wiki/newton's_method

and floating point registers in mips

http://en.wikipedia.org/wiki/mips_architecture#floating_point

and similar thread

finding square root of integer on mips assembly

have tried coding yourself? , assembly level?

thanks.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -