From: Misha Shneerson Date: Sun, 28 Oct 2012 07:07:38 +0000 (-0700) Subject: [Conv] MaxString specialization for __int128 X-Git-Tag: v0.22.0~1161 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=commitdiff_plain;h=5ec53c6ffeb49e5dedb929562822aaf78f835de5 [Conv] MaxString specialization for __int128 Summary: Just that. Test Plan: . Reviewed By: igorzi@fb.com FB internal diff: D613291 --- 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.");