From 8dc2360b11626c7aaafe33867ae1ce17080625d5 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 28 May 2018 17:21:07 -0700 Subject: [PATCH] Fix a comment --- include/fmt/format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 46f06082..3fc2c6f4 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -327,8 +327,8 @@ inline fp operator-(fp x, fp y) { return fp(x.f - y.f, x.e); } -// Computes an fp number r with r.f = x.f * y.f / pow(2, 32) rounded to nearest -// with half-up tie breaking, r.e = x.e + y.e + 32. Result may not be normalized. +// Computes an fp number r with r.f = x.f * y.f / pow(2, 64) rounded to nearest +// with half-up tie breaking, r.e = x.e + y.e + 64. Result may not be normalized. fp operator*(fp x, fp y); // Returns cached power (of 10) c_k = c_k.f * pow(2, c_k.e) such that its