Рет қаралды 614
When I was shown this math trick as a child, little did I know that it would come in handy in the future for creating an esoteric programming language!
Support me on Patreon: / timwi
Page on Esolangs wiki: esolangs.org/wiki/Funciton
Interpreter on GitHub: github.com/Timwi/Funciton
00:00 A long time ago...
00:20 The multiplication trick
01:43 What Funciton operations can do this?
03:08 Planning the algorithm
04:48 Writing it in Funciton
06:36 The (perennial) problem with negative numbers
07:45 Writing the fix for negative numbers
09:14 New syntax: private functions
09:57 Testing
10:24 Exploring an alternative fix for negative numbers
11:28 Comparing the performance of both
12:09 Exploring a third fix for negative numbers
12:49 Responding to a comment on the Increment function
13:31 Why the trick works: comparing it with long multiplication
16:08 Why the trick works: mathematical proof
18:03 My challenge to you