Ackermann Functions

by Ricardo Fernández Serrata

Version 3 (February 26, 2021)

Download (19 downloads)

The optimized and the standard verbatim version of the Ackermann Function.

This function can easily cause overflows of many types in many programming languages. This function can only be recursive, not fully iterative, so it's difficult to implement it on Automate because the subroutine block is not the same as defining/declaring a function in other languages.

This is the "modern" F (2-argument Ackermann–Péter F). I will probably also build the Original "Classic" one (see: en.wikipedia.org/wiki/Ackermann_function#History and en.wikipedia.org/wiki/Ackermann_function#Definition_and_properties )

Note that the memoized values are only dumped to storage (Atomic Store) after a completed execution (uninterrupted). This is to increase speed by using memory and avoiding storage when possible.

If you don't have premium, just 📋CP each function to an individual flow file

4.0 average rating from 1 reviews

5 stars
0
4 stars
1
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.