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*

6
  • \$\begingroup\$ Looks like 118 chars to me: ideone.com/9D5SU \$\endgroup\$ Commented Apr 19, 2012 at 16:28
  • \$\begingroup\$ Testing this with 4 3 is only accurate to about 18 places, double doesn't have nearly enough precision to support an exact representation. \$\endgroup\$ Commented Apr 19, 2012 at 19:40
  • \$\begingroup\$ @Sir_Lagsalot, double has more than enough precision for 4^256. It only has one significant digit. \$\endgroup\$ Commented Apr 19, 2012 at 20:03
  • \$\begingroup\$ Ah good point, I wasn't thinking in binary. Does it actually print out the exact value for you? It gets truncated after the first 18 or so decimal digits on my machine, but I'm willing to accept that's system specific. \$\endgroup\$ Commented Apr 19, 2012 at 20:15
  • \$\begingroup\$ @Sir_Lagsalot: See the ideone link I provided. It prints out the whole number. \$\endgroup\$ Commented Apr 19, 2012 at 21:03