square number
- From: "V Mind" <vytheese@xxxxxxxxx>
- Date: 10 Aug 2006 05:45:04 -0700
I am little bizzare with math but i follow a simple solution to find
perfect squares
if x is the number then to find x is perfect square or not
if ( pow( floor( sqrt( x ) ) , 2 ) == x)
print x is square
else
not a square
I find it from some forum.
.
- Follow-Ups:
- Re: square number
- From: Pubkeybreaker
- Re: square number
- Prev by Date: Re: A real analysis problem!
- Next by Date: Re: Does such a ring exist?
- Previous by thread: ProAdultOutsourcing - Best Value-for-Money Web Services
- Next by thread: Re: square number
- Index(es):
Loading