| 8761 | |
| 8762 | template <typename FloatingPoint> |
| 8763 | void write(std::ostream& out, FloatingPoint num) { |
| 8764 | out << std::scientific |
| 8765 | << std::setprecision(std::numeric_limits<FloatingPoint>::max_digits10 - 1) |
| 8766 | << num; |
| 8767 | } |
| 8768 | |
| 8769 | } // end anonymous namespace |
| 8770 |