[PATCH] Fix test03 in ostream_inserter_arith.cc
Andreas Schwab
schwab@suse.de
Sun Jan 27 09:17:00 GMT 2002
Paolo Carlini <pcarlini@unitus.it> writes:
|> Paolo Carlini wrote:
|>
|> > Hi,
|> >
|> > I have trivially generalized the test for the following cases: 16/32 shorts,
|> > 16/32/64 ints and 32/64 longs. Ulrich, could you please verify on your 64 bit
|> > mainframes that the fix is correct?
|> >
|> > Otherwise, would the patch (tested on i686-pc-linux-gnu) be ok?
|>
|> Sorry! I sent the wrong patch (the very first version, indeed) which does *not*
|> work (since, f.i., on i686, numeric_limits<short>::digits == 15 *not* 16).
|>
|> It is much easier to use sizeof()...
Tested on ia64-suse-linux.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libstdc++
mailing list