Path: utzoo!utgpu!water!watmath!clyde!rutgers!rochester!cornell!uw-beaver!uw-june!pardo From: pardo@uw-june.UUCP (David Keppel) Newsgroups: comp.lang.c Subject: Re: Power operator? Message-ID: <3933@uw-june.UUCP> Date: 7 Jan 88 21:22:13 GMT References: <47000029@uxe.cso.uiuc.edu> Reply-To: pardo@uw-june.UUCP (David Keppel) Organization: U of Washington, Computer Science, Seattle Lines: 10 [Why isn't there a power (e.g., a**2) operator in C?] The original intent of C was simplicity. Having ** is a fine idea, but we have to draw a line somewhere and it was defaulted for us by K&R a long time ago. If we have ** then perhaps we should also have ||= ? Worried about runtime overhead of calling pow(3m)? Talk to somebody about inline code expansion or use C++. ;-D on (Does anybody have a C->Cobol Compiler ?-) Pardo