Numerical C

merlyn at sequent.UUCP merlyn at sequent.UUCP
Fri Apr 20 10:53:12 AEST 1984


"nather at 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 at 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



More information about the Comp.lang.c mailing list