From 460a6ead6fd6707caa56c7673cdcd0a6bef7f059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Hock?= Date: Thu, 23 Nov 2023 17:43:28 +0100 Subject: [PATCH] Force fixed notation --- cpp/StftPitchShift/Timer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpp/StftPitchShift/Timer.h b/cpp/StftPitchShift/Timer.h index ffaaf92..fef202b 100755 --- a/cpp/StftPitchShift/Timer.h +++ b/cpp/StftPitchShift/Timer.h @@ -1,6 +1,7 @@ #pragma once #include +#include #include #include #include @@ -100,8 +101,9 @@ namespace stftpitchshift const double stdev = std::sqrt(sumsum / data.size() - mean * mean); std::ostringstream result; + result.setf(result.flags() | std::ios::fixed); result.precision(3); - result << mean << " ± " << stdev << " " << unit << " n=" << data.size(); + result << mean << " \u00b1 " << stdev << " " << unit << " n=" << data.size(); return result.str(); }