Arithmetic/Complex: Difference between revisions

added factor example
(added factor example)
Line 606:
r = -1.0;}
</lang>
 
=={{header|Factor}}==
<lang factor>C{ 1 2 } C{ 0.9 -2.78 } {
[ + . ]
[ - . ]
[ * . ]
[ / . ]
[ ^ . ]
[ drop sin . ]
[ drop log . ]
[ drop sqrt . ]
} 2cleave</lang>
 
=={{header|Forth}}==
{{libheader|Forth Scientific Library}}
Anonymous user