1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 // template<class UIntType, size_t w, size_t s, size_t r>
12 // class subtract_with_carry_engine;
14 // template <class charT, class traits,
15 // class UIntType, size_t w, size_t s, size_t r>
16 // basic_ostream<charT, traits>&
17 // operator<<(basic_ostream<charT, traits>& os,
18 // const subtract_with_carry_engine<UIntType, w, s, r>& x);
20 // template <class charT, class traits,
21 // class UIntType, size_t w, size_t s, size_t r>
22 // basic_istream<charT, traits>&
23 // operator>>(basic_istream<charT, traits>& is,
24 // subtract_with_carry_engine<UIntType, w, s, r>& x);
30 #include "test_macros.h"
35 typedef std::ranlux24_base E
;
38 std::ostringstream os
;
40 std::istringstream
is(os
.str());
49 typedef std::ranlux48_base E
;
52 std::ostringstream os
;
54 std::istringstream
is(os
.str());