Skip to content

Commit 3b5d30f

Browse files
committed
Fix example of Pi calculation
Typo fix: `slidng` => `sliding`
1 parent f6fa251 commit 3b5d30f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

learning/J_EXAMPLES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
**2021-01-15**<br>
22
Pi Calculation:
33
```ijs
4-
slidng =: <;._3
5-
chunk =: 3 : '(2*i.((#y) % 2)) { 2 sliding y'
6-
pi =: 3 : '+/ > 8 % each */ each chunk 1 + 2 * i.y'
4+
sliding =: <;._3
5+
chunk =: 3 : '(2*i.((#y) % 2)) { 2 sliding y'
6+
pi =: 3 : '+/ > 8 % each */ each chunk 1 + 2 * i.y'
77
```
88
**2021-01-17**<br>
99
Pi Calculation (revised from above because we learned things):

0 commit comments

Comments
 (0)