Talk:Ackermann function: Difference between revisions
→ZED version?: new section |
|||
Line 43:
How do we read the ZED version? (What are we seeing there?) --[[User:Rdm|Rdm]] 08:04, 3 August 2012 (UTC)
==Java 8 example size==
Could someone explain why the Java 8 version merits inclusion? It seems ridiculously long in comparison with the Java version above it. Does Java 8 ''require'' so much code? -[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 17:38, 5 October 2013 (UTC)
|
Revision as of 17:38, 5 October 2013
I don't really know how well my C++ function performs, as I said im just learning C++. but i though i would add it since there wasn't one. If something is wrong with it, please email me at ki4hbd(dot)nathan(at)gmail(dot)com and explain if you don't mind. Thanks!
Arbitrary precision with BC
BC is a binary calculator with arbitrary precision (similar to dc, but this one use the RPN, bc resembles C in its syntax); the code would be (translated from C):
#! /usr/bin/bc -q define ack(m, n) { if ( m == 0 ) return (n+1); if ( n == 0 ) return (ack(m-1, 1)); return (ack(m-1, ack(m, n-1))); } for(n=0; n<7; n++) { for(m=0; m<4; m++) { print "A(", m, ",", n, ") = ", ack(m,n), "\n"; } } quit
Would this be suitable for adding in the article? --ShinTakezou 14:05, 9 December 2008 (UTC)
- Why not ? Rahul 14:45, 9 December 2008 (UTC)
- You could also write bc examples for other articles in Category:Arbitrary precision. --IanOsgood 14:35, 28 December 2008 (UTC)
Comment preceding MUMPS code (moved from the page)
... when I told Tom Ackermann that this function existed, he couldn't believe that an actual mathematical function was named after a relative if his... May he rest in peace!
{I am not signing this since I am not the author, I've just moved this from the page —ShinTakezou 17:07, 23 April 2010 (UTC)}
ABAP
Abap results seem wrong
ZED version?
How do we read the ZED version? (What are we seeing there?) --Rdm 08:04, 3 August 2012 (UTC)
Java 8 example size
Could someone explain why the Java 8 version merits inclusion? It seems ridiculously long in comparison with the Java version above it. Does Java 8 require so much code? -Paddy3118 (talk) 17:38, 5 October 2013 (UTC)