From: "Rafal Maj" Newsgroups: comp.os.msdos.djgpp Subject: Iostream question Date: Mon, 30 Apr 2001 14:25:25 +0200 Organization: Academic Computer Center CYFRONET AGH Lines: 13 Message-ID: <9cjlhq$3vf$1@info.cyf-kr.edu.pl> NNTP-Posting-Host: d-94-53-16.cyfronet.krakow.pl X-Trace: info.cyf-kr.edu.pl 988633467 4079 149.156.1.176 (30 Apr 2001 12:24:27 GMT) X-Complaints-To: news AT cyf-kr DOT edu DOT pl NNTP-Posting-Date: Mon, 30 Apr 2001 12:24:27 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, following code : long double r = 3.1415012345678901111112222233333444445555666677777888899999000012345; cerr << setprecision(999) << r; displays in cerr only : 3.1415012345678903 How to display (or write to file) long double with full precision using iostream ? Or does long double hold only 16 digits of my variable ? Thanks