  This paper considers a parametrized family of generalized Takagi functions
f_p with parameter p. Tabor and Tabor [J. Math. Anal. Appl. 356 (2009),
729-737] recently proved that for p in [1,2], f_p is (1,p)-midconvex. We give a
simpler proof of this result by developing an explicit expression for f_p at
dyadic rational points and showing that (1,p)-midconvexity of f_p reduces to a
simple inequality for weighted sums of binary digits.
