We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df6783a commit 329fe2fCopy full SHA for 329fe2f
include/universal/number/dd/dd_impl.hpp
@@ -612,7 +612,7 @@ class dd {
612
}
613
614
s[precision] = 0; // add termination null
615
- }
+ }
616
617
void append_exponent(std::string& str, int e) const {
618
str += (e < 0 ? '-' : '+');
static/dd/api/api.cpp
@@ -107,7 +107,7 @@ namespace sw {
107
dd u = ulp(from);
108
std::cout << "ulp(" << std::scientific << std::setprecision(0) << from
109
<< ") gives " << to_binary(u) << " : "
110
- << /*std::fixed <<*/ std::setprecision(6) << u
+ << std::scientific << std::setprecision(6) << u
111
<< '\n';
112
113
0 commit comments