Tacit programming: Difference between revisions

Content deleted Content added
Line 99:
cos ← 2 ○ ⊢
sin ← 1 ○ ⊢
EulerDirect←EulerCalc← cos + 0j1 × sin ⍝ 0j1 is what's usually written as i
EulerActual←EulerDirect← *0J1×⊢ ⍝ Same as ¯12○⊢
⍝ Do the 2 methods produce the same result?
EulerCheck← EulerActualEulerDirect=EulerCalc
EulerCheck ¯1 1 2 3
1 1 1 1