Arithmetic/Complex: Difference between revisions
→{{header|Forth}}
m (→{{header|Fortran}}: The syntax highlighter also doesn't recognise imag as a function.) |
|||
Line 1,563:
=={{header|Forth}}==
{{libheader|Forth Scientific Library}}
<lang forth>S" fsl-util.fs" REQUIRED
zvariable x
Line 1,576 ⟶ 1,574:
x z@ y z@ z+ z.
x z@ y z@ z* z.
1e 0e zconstant 1+0i
1+0i x z@ z/ z.
x z@ znegate z.</lang>
|