By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 921 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

iostreams: change default floating point precision?

P: n/a
Hi,

How can I change the default floating point precision for the duration
of execution?
i.e. that *every* ostream I subsequently create will have this
precision?

Thanks

Joseph

Apr 17 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Joseph Turian wrote:
Hi,

How can I change the default floating point precision for the duration
of execution?
i.e. that *every* ostream I subsequently create will have this
precision?


Maybe you can do something like that by replacing the num_put facette in the
global locale.
Apr 17 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.