User blog comment:B1mb0w/J Function Sandpit J 1/@comment-25601061-20150922232637/@comment-10262436-20150923022541

Hi. The power of two is just shown to illustrate how the function has been designed. It actually accepts any real number and the algorithm in the program code takes over. I have tidied up the definition section a little to make this clearer.

The program code will run in Microsoft Excel. It is easy to use it to try different values of real input numbers. I also plan to provide a written description of what the program code algorithm does. Just need to find the time.

Cheers.