3 mpc \- extended precision arithmetic code generator
11 generates C functions from a simple language that operates on
12 extended precision integers using the
16 The language consists of a series of function definitions of the form:
25 All variables and parameters are extended precision integers and are
26 passed by reference. Statements are separated by semicolon and the
27 following statemens are defined:
73 There is no distinction between input and output parameters, but
74 conventionally, the outputs are put at the end of the
76 and the language allows one to write
93 Expressions are composed out of the following arithmetic operations:
107 division, or multiplicative inverse when enclosed in
118 right shift by a constant.
121 left shift by a constant.
123 .IB condition ? a : b
127 .I condition is true, otherwise
133 Conditions can use the following operations:
153 .B /sys/src/cmd/mpc.y