• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef BOOST_SAFE_NUMERICS_TEST_MULTIPLY_AUTOMATIC_RESULTS_HPP
2 #define BOOST_SAFE_NUMERICS_TEST_MULTIPLY_AUTOMATIC_RESULTS_HPP
3 
4 //  Copyright (c) 2019 Robert Ramey
5 //
6 // Distributed under the Boost Software License, Version 1.0. (See
7 // accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt)
9 
10 #include "test_values.hpp"
11 
12 constexpr const char *test_multiplication_automatic_result[
13     boost::mp11::mp_size<test_values>::value
14 ] = {
15 //      0       0       0       0
16 //      012345670123456701234567012345670
17 //      012345678901234567890123456789012
18 /* 0*/ "..............................xx.",
19 /* 1*/ ".............xx..............xxx.",
20 /* 2*/ ".............xx..............xxx.",
21 /* 3*/ "..............x...............xx.",
22 /* 4*/ "..............................xx.",
23 /* 5*/ ".............xx..............xxx.",
24 /* 6*/ ".............xx..............xxx.",
25 /* 7*/ "..............x...............xx.",
26 
27 /* 8*/ "..............................xx.",
28 /* 9*/ ".............xx..............xxx.",
29 /*10*/ ".............xx..............xxx.",
30 /*11*/ "..............x...............xx.",
31 /*12*/ "..............................xx.",
32 /*13*/ ".xx..xx..xx..xx..xxx.xxx.xxx.xxx.",
33 /*14*/ ".xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.",
34 /*15*/ "..............x...............xx.",
35 
36 //      0       0       0       0
37 //      012345670123456701234567012345670
38 //      012345678901234567890123456789012
39 /*16*/ ".................................",
40 /*17*/ ".............xx..............xxx.",
41 /*18*/ ".............xx..............xxx.",
42 /*19*/ ".............xx..............xxx.",
43 /*20*/ ".................................",
44 /*21*/ ".............xx..............xxx.",
45 /*22*/ ".............xx..............xxx.",
46 /*23*/ ".............xx..............xxx.",
47 
48 /*24*/ ".................................",
49 /*25*/ ".............xx..............xxx.",
50 /*26*/ ".............xx..............xxx.",
51 /*27*/ ".............xx..............xxx.",
52 /*28*/ ".................................",
53 /*29*/ ".xx..xx..xx..xx..xxx.xxx.xxx.xxx.",
54 /*30*/ "xxxxxxxxxxxxxxxx.xxx.xxx.xxx.xxxx",
55 /*31*/ "xxxxxxxxxxxxxxxx.xxx.xxx.xxx.xxxx",
56 /*32*/ "..............................xx."
57 };
58 
59 #endif // BOOST_SAFE_NUMERICS_TEST_MULTIPLY_AUTOMATIC_RESULTS_HPP
60