# to the nth power

Tim Pierce twpierce at amherst.bitnet
Thu Nov 8 05:36:55 AEST 1990


In article <P1X6QN1 at xds13.ferranti.com>, peter at ficc.ferranti.com (Peter da Silva) writes:
> In article <226 at smds.UUCP> rh at smds.UUCP (Richard Harter) writes:
>> 	for (y=x,sqrtx=1;y>0;) {ysave = y;y =/ 16;sqrtx =* 4;}
> 
> Wow.
> 
> This man has been programming in C for a *long* time. I'm impressed.
> 
> (quiz: why do I come to this conclusion?)

Because of the archaic operators! (I knew I'd get something right someday!)
Someone else suggested that this might have been a typo -- however, since he
uses postfix twice, (postfix is not the right term, I know, but for lack of a
better one...) in "y =/ 16" and "sqrtx =* 4", this is less likely.

----------------------------------------------------------------------------
Tim Pierce		| "They call television a medium. That is because
twpierce at amherst.bitnet	|  it is neither rare nor well done." - Ernie Kovacs
----------------------------------------------------------------------------



More information about the Comp.lang.c mailing list