Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
partons
core
elementary-utils
Commits
40924ce9
Commit
40924ce9
authored
Sep 27, 2016
by
Bryan Berthou
Browse files
refs#16
In ElementaryUtils (trunk) : - For GenericType set max precision as default for in & out.
parent
5bbcd614
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/ElementaryUtils/parameters/GenericType.h
View file @
40924ce9
...
...
@@ -15,6 +15,7 @@
*/
#include
<stddef.h>
#include
<iomanip>
#include
<sstream>
#include
<string>
...
...
@@ -28,7 +29,7 @@ public:
*/
template
<
class
T
>
GenericType
(
T
value
)
{
m_stream
<<
value
;
m_stream
<<
std
::
setprecision
(
17
)
<<
value
;
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment