On Feb 16, 8:57 pm, "osmium" <r124c4u...@comcast.net> wrote:
> "FSMehmet" wrote:
> > Hey who can help me to find the 111 digit of pi number in C++
> There are some nice hits on google if you give it
> pi algorithm
> as a search target. But since C++ does not deal innately with numbers as
> large as 111 digits, you will need some way to attack that problem.
Just a nit, but that should read "[...]since most C++
implementations don't support 111 digit numbers[...]". The
standard requires a minimum of 10 decimal digits for double, but
it doesn't set any maximum, so an implementation using 256 byte
doubles would be perfectly conform. Albeit a bit slow for most
uses on most platforms

. (FWIW: I am aware of one
implementation of Fortran which used 256 byte floats on a
Siemens BS2000. And yes, it was very, very slow.)
--
James Kanze (GABI Software) email:
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34