From 5ec53c6ffeb49e5dedb929562822aaf78f835de5 Mon Sep 17 00:00:00 2001 From: Misha Shneerson Date: Sun, 28 Oct 2012 00:07:38 -0700 Subject: [PATCH] [Conv] MaxString specialization for __int128 Summary: Just that. Test Plan: . Reviewed By: igorzi@fb.com FB internal diff: D613291 --- folly/Conv.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/folly/Conv.cpp b/folly/Conv.cpp index c65ba04a..27067fcc 100644 --- a/folly/Conv.cpp +++ b/folly/Conv.cpp @@ -42,6 +42,8 @@ static_assert(sizeof(unsigned long) >= 4, " please update."); template <> const char *const MaxString::value = "18446744073709551615"; +template <> const char *const MaxString::value = + "340282366920938463463374607431768211455"; static_assert(sizeof(unsigned long long) >= 8, "Wrong value for MaxString::value" ", please update."); -- 2.34.1