Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 1
    \$\begingroup\$ Oh man, I totally expected this answer. I won't consider it as an actual answer, unless you generate the continued fraction yourself. \$\endgroup\$ Commented Jun 19, 2012 at 14:38
  • \$\begingroup\$ @beary605 Fair enough. \$\endgroup\$ Commented Jun 19, 2012 at 17:41
  • 3
    \$\begingroup\$ +1 Better yet (25 chars) ContinuedFraction@Sqrt@#& \$\endgroup\$ Commented Jun 20, 2012 at 0:55
  • \$\begingroup\$ What exactly are you counting here? Is this a program which takes input from stdin? Because the way you use it looks like it's a function body without the function definition. \$\endgroup\$ Commented Jun 20, 2012 at 13:19
  • \$\begingroup\$ @Peter Taylor Please see the amendment. \$\endgroup\$ Commented Jun 20, 2012 at 13:58