Generate C code and declare variable types.
cg = -0.3e1 * (double) y * z + x;
| |
Generate MATLAB(R) code where the output is a string.
Generate Fortran code and specify single precision for floating-point variables and constants.
>
|
f:= proc(x) return x^2; end proc:
|
real function f (x)
real x
f = x ** 2
return
end
| |
Generate Visual Basic code
s = 0.10E1 + x
t = Log(s) * Exp(-x)
r = Exp(-x) + x * t
| |