Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site sequent.UUCP Path: utzoo!watmath!clyde!akgua!mcnc!decvax!harpo!ihnp4!zehntel!tektronix!ogcvax!sequent!merlyn From: merlyn@sequent.UUCP Newsgroups: net.lang.c Subject: Re: Numerical C Message-ID: <459@sequent.UUCP> Date: Thu, 19-Apr-84 19:53:12 EST Article-I.D.: sequent.459 Posted: Thu Apr 19 19:53:12 1984 Date-Received: Sun, 22-Apr-84 08:44:43 EST References: <1311@mhuxt.UUCP> <166@utastro.UUCP> Organization: Sequent Computer Systems, Portland Lines: 30 "nather@utastro.UUCP" sez: > While you're at it, could you put in "**" for exponentiation? You can even > call it "^" if you must. Gosh. This guy hasn't read his C manual. Both of these are taken already. A ^ B means A exclusive-or'ed with B A ** B means A times B-dereferenced (B is a pointer-to-number) [parsed like A * (*B) ] I don't think there are any (printable) ASCII characters left for C additions. Hmm, does that make C a dense language? If so, it means that C is to Numbers (and text) as TECO is to Text (and numbers). (Ever figure out what your name does if accidentally typed in as TECO commands?) I can see it now... the next C (D? or P?) has control-character tokens or dollar-prefixes... string concatenation is $+ ... and string search is $? ... and array compare is $= ... and structure less-than is ^S< ... and EOF will be a real ^D ... and complex numbers have an infix ^C ... wow! How neat! Randal L. ("dereferenced") Schwartz, esq. (merlyn@sequent.UUCP) (Official legendary sorcerer of the 1984 Summer Olympics) Sequent Computer Systems, Inc. (503)626-5700 UUCP: ...!XXX!sequent!merlyn where XXX is one of: cdi decwrl nsc ogcvax pur-ee rocks34 shell unisoft vax135 verdix