Assembly or ....
Keith Bierman - Sun Tactical Engineering
khb%chiba at Sun.COM
Fri Dec 2 04:26:38 AEST 1988
In article <606 at poseidon.ATT.COM> ech at poseidon.ATT.COM (Edward C Horvath) writes:
>
>It's interesting, though, how few languages provide such a "two-valued"
>functions (all right, I can feel the mathematicians cringing. So few
>languages provide functions with ranges like ZxZ, OK?). I've seen
>implementations of FORTH, by the way, where the expression
> a b /%
>for example, divides a by b, leaving a/b and a%b on the stack. Of
>course, if your favorite flavor of forth didn't provide the /% operator
>("word") you'd just define it...
>
F88 does (define a new data type, define a function which returns it,
possibly overload some operator).
Keith H. Bierman
It's Not My Fault ---- I Voted for Bill & Opus
More information about the Comp.lang.c
mailing list