--- arprec-2.2.17/src/write.cpp.old 2016-09-21 18:25:59.872611368 -0400 +++ arprec-2.2.17/src/write.cpp 2016-09-21 18:26:30.604696356 -0400 @@ -196,6 +196,6 @@ string str = to_string(precision, width, expn_width, fmt, showpos, uppercase, fill); - return (s << str) != 0; + return (!(s << str).fail()); }