/* ---------------------------------------------------------------------------------------------------*/ /* Port of the Intel Decimal Floating-Point Math Library decimal128 type to Rust. */ /* decmathlib-rs - Copyright (C) 2023-2024 Carlos Guzmán Álvarez */ /* -------------------------------------------------------------------------------------------------- */ /* Licensed under the MIT license. See LICENSE file in the project root for full license information. */ /* -------------------------------------------------------------------------------------------------- */ /* Intel® Decimal Floating-Point Math Library - Copyright (c) 2018, Intel Corp. */ /* -------------------------------------------------------------------------------------------------- */ mod common; dec_test!(bid128_scalbn_001, bid128_scalbn, 0, 0x00000000000000000000000000000000u128, 0 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_002, bid128_scalbn, 0, 0x00000000000000000000000000000000u128, -1 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_003, bid128_scalbn, 0, 0x00000000000000000000000000000000u128, 1 , 0x00020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_004, bid128_scalbn, 0, 0x00000000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_005, bid128_scalbn, 0, 0x00000000000000000000000000000001u128, 0 , 0x00000000000000000000000000000001u128, 0x00); //); // ulp=0.000000000x00); dec_test!(bid128_scalbn_006, bid128_scalbn, 0, 0x00000000000000000000000000000001u128, -1 , 0x00000000000000000000000000000000u128, 0x30); //); // ulp=.100000000x00); dec_test!(bid128_scalbn_007, bid128_scalbn, 0, 0x00000000000000000000000000000005u128, -1 , 0x00000000000000000000000000000000u128, 0x30); //); // ulp=.500000000x00); dec_test!(bid128_scalbn_008, bid128_scalbn, 0, 0x0000000000200100e182301364080782u128, 12288 , 0x5ffe000001400a08cf15e0c1e8504b14u128, 0x00); dec_test!(bid128_scalbn_009, bid128_scalbn, 0, 0x000000028a0804008002020024000000u128, -9 , 0x000000000000000ae7dcfc24a9355432u128, 0x30); dec_test!(bid128_scalbn_010, bid128_scalbn, 0, 0x0000010080430040ffffeffffefdffffu128, 12288 , 0x5ffe0a05029e0289ffff5ffff5ebfff6u128, 0x00); dec_test!(bid128_scalbn_011, bid128_scalbn, 0, 0x0000020800082090030240316cee002bu128, -1 , 0x000000340000d00e66b36cd1be17ccd1u128, 0x30); dec_test!(bid128_scalbn_012, bid128_scalbn, 0, 0x000020025407824691f4f05931970480u128, -1 , 0x000003336ecd8d070e987e6f51c24d40u128, 0x00); dec_test!(bid128_scalbn_013, bid128_scalbn, 0, 0x0001020004108020dbdfbfffbffceefdu128, -1 , 0x000019cccd34d99ce2c993332ccc7e4cu128, 0x30); dec_test!(bid128_scalbn_014, bid128_scalbn, 0, 0x0001ed09bead87c0378d8e64ffffffffu128, 0 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_015, bid128_scalbn, 0, 0x0001ed09bead87c0378d8e64ffffffffu128, -1 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_016, bid128_scalbn, 0, 0x0001ed09bead87c0378d8e64ffffffffu128, 1 , 0x00020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_017, bid128_scalbn, 0, 0x0001ed09bead87c0378d8e64ffffffffu128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_018, bid128_scalbn, 0, 0x000840000000084477fd35f51eecefe5u128, -33 , 0x000000000000000000000000000032b5u128, 0x30); dec_test!(bid128_scalbn_019, bid128_scalbn, 0, "0" , 0 , 0x30400000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_020, bid128_scalbn, 0, 0x003e0000000000000000000000000000u128, 0 , 0x003e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_021, bid128_scalbn, 0, 0x003e0000000000000000000000000000u128, -1 , 0x003c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_022, bid128_scalbn, 0, 0x003e0000000000000000000000000000u128, 1 , 0x00400000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_023, bid128_scalbn, 0, 0x003e0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_024, bid128_scalbn, 0, 0x00420008800608020c1c1242400c0800u128, -2 , 0x003e0008800608020c1c1242400c0800u128, 0x00); dec_test!(bid128_scalbn_025, bid128_scalbn, 0, 0x00840000000000000000000000000000u128, 0 , 0x00840000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_026, bid128_scalbn, 0, 0x00840000000000000000000000000000u128, -1 , 0x00820000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_027, bid128_scalbn, 0, 0x00840000000000000000000000000000u128, 1 , 0x00860000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_028, bid128_scalbn, 0, 0x00840000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_029, bid128_scalbn, 0, "-0" , 0 , 0xb0400000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_030, bid128_scalbn, 0, "0" , -1 , 0x303e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_031, bid128_scalbn, 0, "0" , 1 , 0x30420000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_032, bid128_scalbn, 0, "-0" , -1 , 0xb03e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_033, bid128_scalbn, 0, "-0" , 1 , 0xb0420000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_034, bid128_scalbn, 0, "0.9" , -6142 , 0x00420000000000000000000000000009u128, 0x00); dec_test!(bid128_scalbn_035, bid128_scalbn, 0, "-0.9" , -6142 , 0x80420000000000000000000000000009u128, 0x00); dec_test!(bid128_scalbn_036, bid128_scalbn, 0, "0.9" , -6143 , 0x00400000000000000000000000000009u128, 0x00); dec_test!(bid128_scalbn_037, bid128_scalbn, 0, "0.9" , 6143 , 0x5ffe046ff5af2138c51ba45a80000000u128, 0x00); dec_test!(bid128_scalbn_038, bid128_scalbn, 0, "-0.9" , -6143 , 0x80400000000000000000000000000009u128, 0x00); dec_test!(bid128_scalbn_039, bid128_scalbn, 0, "-0.9" , 6143 , 0xdffe046ff5af2138c51ba45a80000000u128, 0x00); dec_test!(bid128_scalbn_040, bid128_scalbn, 0, "0.9" , -6144 , 0x003e0000000000000000000000000009u128, 0x00); dec_test!(bid128_scalbn_041, bid128_scalbn, 0, "0.9" , 6144 , 0x5ffe2c5f98d74c37b3146b8900000000u128, 0x00); dec_test!(bid128_scalbn_042, bid128_scalbn, 0, "-0.9" , -6144 , 0x803e0000000000000000000000000009u128, 0x00); dec_test!(bid128_scalbn_043, bid128_scalbn, 0, "-0.9" , 6144 , 0xdffe2c5f98d74c37b3146b8900000000u128, 0x00); dec_test!(bid128_scalbn_044, bid128_scalbn, 0, "0.9" , 6145 , 0x5fffbbbbf868fa2cfecc335a00000000u128, 0x00); dec_test!(bid128_scalbn_045, bid128_scalbn, 0, "-0.9" , 6145 , 0xdfffbbbbf868fa2cfecc335a00000000u128, 0x00); dec_test!(bid128_scalbn_046, bid128_scalbn, 0, 0x13550b41aa4c2e9ef231457a40faf6d8u128, 1 , 0x13570b41aa4c2e9ef231457a40faf6d8u128, 0x00); dec_test!(bid128_scalbn_047, bid128_scalbn, 0, 0x2d240000000000000000000000000000u128, 0 , 0x2d240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_048, bid128_scalbn, 0, 0x2d240000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_049, bid128_scalbn, 0, 0x2d240000000000000000000000000000u128, -1 , 0x2d220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_050, bid128_scalbn, 0, 0x2d240000000000000000000000000000u128, 1 , 0x2d260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_051, bid128_scalbn, 0, 0x2d260000000000000000000000000000u128, 0 , 0x2d260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_052, bid128_scalbn, 0, 0x2d260000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_053, bid128_scalbn, 0, 0x2d260000000000000000000000000000u128, -1 , 0x2d240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_054, bid128_scalbn, 0, 0x2d260000000000000000000000000000u128, 1 , 0x2d280000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_055, bid128_scalbn, 0, 0x2ecb3d459012b202f6b1e4f48fe58388u128, 2 , 0x2ecf3d459012b202f6b1e4f48fe58388u128, 0x00); dec_test!(bid128_scalbn_056, bid128_scalbn, 0, 0x2ffc0000000000000000000000000000u128, 0 , 0x2ffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_057, bid128_scalbn, 0, 0x2ffc0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_058, bid128_scalbn, 0, 0x2ffc0000000000000000000000000000u128, -1 , 0x2ffa0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_059, bid128_scalbn, 0, 0x2ffc0000000000000000000000000000u128, 1 , 0x2ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_060, bid128_scalbn, 0, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 0 , 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_061, bid128_scalbn, 0, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, -1 , 0x2FFBED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_062, bid128_scalbn, 0, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 1 , 0x2FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_063, bid128_scalbn, 0, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 2147483647 , 0x78000000000000000000000000000000u128, 0x28); // ulp=0.0000x00); dec_test!(bid128_scalbn_064, bid128_scalbn, 0, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, -2147483648, 0x00000000000000000000000000000000u128, 0x30); // ulp=0.000000000x00); dec_test!(bid128_scalbn_065, bid128_scalbn, 0, 0x30200000000000000000000000000000u128, 0 , 0x30200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_066, bid128_scalbn, 0, 0x30200000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_067, bid128_scalbn, 0, 0x30200000000000000000000000000000u128, -1 , 0x301e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_068, bid128_scalbn, 0, 0x30200000000000000000000000000000u128, 1 , 0x30220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_069, bid128_scalbn, 0, 0x33200000000000000000000000000000u128, 0 , 0x33200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_070, bid128_scalbn, 0, 0x33200000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_071, bid128_scalbn, 0, 0x33200000000000000000000000000000u128, -1 , 0x331e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_072, bid128_scalbn, 0, 0x33200000000000000000000000000000u128, 1 , 0x33220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_073, bid128_scalbn, 0, 0x33220000000000000000000000000000u128, 0 , 0x33220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_074, bid128_scalbn, 0, 0x33220000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_075, bid128_scalbn, 0, 0x33220000000000000000000000000000u128, -1 , 0x33200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_076, bid128_scalbn, 0, 0x33220000000000000000000000000000u128, 1 , 0x33240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_077, bid128_scalbn, 0, 0x4f779f771e5fffaaedf7aceef9df5ff7u128, -2145631211, 0x00000000000000000000000000000000u128, 0x30); dec_test!(bid128_scalbn_078, bid128_scalbn, 0, 0x5ffa0000000000000000000000000000u128, 0 , 0x5ffa0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_079, bid128_scalbn, 0, 0x5ffa0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_080, bid128_scalbn, 0, 0x5ffa0000000000000000000000000000u128, -1 , 0x5ff80000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_081, bid128_scalbn, 0, 0x5ffa0000000000000000000000000000u128, 1 , 0x5ffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_082, bid128_scalbn, 0, 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0 , 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_083, bid128_scalbn, 0, 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 1 , 0x78000000000000000000000000000000u128, 0x28); // ulp=0.000000000x00); dec_test!(bid128_scalbn_084, bid128_scalbn, 0, 0x6003b75d7734cd9e1234567890123456u128, 0 , 0x000e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_085, bid128_scalbn, 0, 0x6003b75d7734cd9e1234567890123456u128, -1 , 0x000c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_086, bid128_scalbn, 0, 0x6003b75d7734cd9e1234567890123456u128, 1 , 0x00100000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_087, bid128_scalbn, 0, 0x6003b75d7734cd9e1234567890123456u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_088, bid128_scalbn, 0, 0x6391054cd8a752b204d6af0f04a61d9au128, -16393 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_089, bid128_scalbn, 0, 0x69dbb75d7734cd9e1234567890123456u128, 0 , 0x276e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_090, bid128_scalbn, 0, 0x69dbb75d7734cd9e1234567890123456u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_091, bid128_scalbn, 0, 0x69dbb75d7734cd9e1234567890123456u128, -1 , 0x276c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_092, bid128_scalbn, 0, 0x69dbb75d7734cd9e1234567890123456u128, 1 , 0x27700000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_093, bid128_scalbn, 0, 0x717fc712e3bbadf296bf11120cc8c450u128, 1903172 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_094, bid128_scalbn, 0, 0x78000000000000000000000000000000u128, 0 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_095, bid128_scalbn, 0, 0x78000000000000000000000000000000u128, 12336256 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_096, bid128_scalbn, 0, 0x78000000000000000000000000000000u128, -1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_097, bid128_scalbn, 0, 0x78000000000000000000000000000000u128, 1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_098, bid128_scalbn, 0, 0x78000001000000000000000000000000u128, 0 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_099, bid128_scalbn, 0, 0x78000001000000000000000000000000u128, 12336256 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_100, bid128_scalbn, 0, 0x78000001000000000000000000000000u128, -1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_101, bid128_scalbn, 0, 0x78000001000000000000000000000000u128, 1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_102, bid128_scalbn, 0, 0x7c000000000000000000000000000000u128, 0 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_103, bid128_scalbn, 0, 0x7c000000000000000000000000000000u128, 12336256 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_104, bid128_scalbn, 0, 0x7c000000000000000000000000000000u128, -1 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_105, bid128_scalbn, 0, 0x7c000000000000000000000000000000u128, 1 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_106, bid128_scalbn, 0, 0x7c000001000000000000000000000000u128, 0 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_107, bid128_scalbn, 0, 0x7c000001000000000000000000000000u128, 12336256 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_108, bid128_scalbn, 0, 0x7c000001000000000000000000000000u128, -1 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_109, bid128_scalbn, 0, 0x7c000001000000000000000000000000u128, 1 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_110, bid128_scalbn, 0, 0x7cd6fc74f77897250100881028204800u128, -4 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_111, bid128_scalbn, 0, 0x7e000000000000000000000000000000u128, 0 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_112, bid128_scalbn, 0, 0x7e000000000000000000000000000000u128, 12336256 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_113, bid128_scalbn, 0, 0x7e000000000000000000000000000000u128, -1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_114, bid128_scalbn, 0, 0x7e000000000000000000000000000000u128, 1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_115, bid128_scalbn, 0, 0x7e003fffffffefffffffffffffffffffu128, 0 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_116, bid128_scalbn, 0, 0x7e003fffffffefffffffffffffffffffu128, 12336256 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_117, bid128_scalbn, 0, 0x7e003fffffffefffffffffffffffffffu128, -1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_118, bid128_scalbn, 0, 0x7e003fffffffefffffffffffffffffffu128, 1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_119, bid128_scalbn, 0, 0x7ef00000000000000000000000000001u128, 0 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_120, bid128_scalbn, 0, 0x7ef00000000000000000000000000001u128, 12336256 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_121, bid128_scalbn, 0, 0x7ef00000000000000000000000000001u128, -1 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_122, bid128_scalbn, 0, 0x7ef00000000000000000000000000001u128, 1 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_123, bid128_scalbn, 0, 0x80000000000000000000000000000000u128, 0 , 0x80000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_124, bid128_scalbn, 0, 0x80000000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_125, bid128_scalbn, 0, 0x80000000000000000000000000000000u128, -1 , 0x80000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_126, bid128_scalbn, 0, 0x80000000000000000000000000000000u128, 1 , 0x80020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_127, bid128_scalbn, 0, 0x80d2a758cbb72db83c0e29333b2efd9cu128, 3 , 0x80d8a758cbb72db83c0e29333b2efd9cu128, 0x00); dec_test!(bid128_scalbn_128, bid128_scalbn, 0, 0x858c4e0a5a309c7dedfd4c77f5d9c834u128, 4 , 0x85944e0a5a309c7dedfd4c77f5d9c834u128, 0x00); dec_test!(bid128_scalbn_129, bid128_scalbn, 0, 0x8ac4a5b732a274fc40e4b26944e0497fu128, 5 , 0x8acea5b732a274fc40e4b26944e0497fu128, 0x00); dec_test!(bid128_scalbn_130, bid128_scalbn, 0, 0x90200200000281049e997b9ecdb7cbf9u128, 122330526 , 0xf8000000000000000000000000000000u128, 0x28); dec_test!(bid128_scalbn_131, bid128_scalbn, 0, 0x94b9588fa6ccd5a3a25c6a9031747040u128, 1024 , 0x9cb9588fa6ccd5a3a25c6a9031747040u128, 0x00); dec_test!(bid128_scalbn_132, bid128_scalbn, 0, 0x96121006972502c30000000000000000u128, 31510 , 0xf8000000000000000000000000000000u128, 0x28); dec_test!(bid128_scalbn_133, bid128_scalbn, 0, 0xab0cd0d34b2dc8d6feacbb4bef0e29aeu128, 6 , 0xab18d0d34b2dc8d6feacbb4bef0e29aeu128, 0x00); dec_test!(bid128_scalbn_134, bid128_scalbn, 0, 0xad240000000000000000000000000000u128, 0 , 0xad240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_135, bid128_scalbn, 0, 0xad240000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_136, bid128_scalbn, 0, 0xad240000000000000000000000000000u128, -1 , 0xad220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_137, bid128_scalbn, 0, 0xad240000000000000000000000000000u128, 1 , 0xad260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_138, bid128_scalbn, 0, 0xad3e0000000000000000000000000000u128, 0 , 0xad3e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_139, bid128_scalbn, 0, 0xad3e0000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_140, bid128_scalbn, 0, 0xad3e0000000000000000000000000000u128, -1 , 0xad3c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_141, bid128_scalbn, 0, 0xad3e0000000000000000000000000000u128, 1 , 0xad400000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_142, bid128_scalbn, 0, 0xb0200000000000000000000000000000u128, 0 , 0xb0200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_143, bid128_scalbn, 0, 0xb0200000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_144, bid128_scalbn, 0, 0xb0200000000000000000000000000000u128, -1 , 0xb01e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_145, bid128_scalbn, 0, 0xb0200000000000000000000000000000u128, 1 , 0xb0220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_146, bid128_scalbn, 0, 0xb2fcd8c588549ea4fd444665ac926911u128, -2113 , 0xa27ad8c588549ea4fd444665ac926911u128, 0x00); dec_test!(bid128_scalbn_147, bid128_scalbn, 0, 0xb3200000000000000000000000000000u128, 0 , 0xb3200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_148, bid128_scalbn, 0, 0xb3200000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_149, bid128_scalbn, 0, 0xb3200000000000000000000000000000u128, -1 , 0xb31e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_150, bid128_scalbn, 0, 0xb3200000000000000000000000000000u128, 1 , 0xb3220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_151, bid128_scalbn, 0, 0xb3d315add1ca40a2684e604fcabb441bu128, 7 , 0xb3e115add1ca40a2684e604fcabb441bu128, 0x00); dec_test!(bid128_scalbn_152, bid128_scalbn, 0, 0xb8639436278b64dfd2855c810025a646u128, 8 , 0xb8739436278b64dfd2855c810025a646u128, 0x00); dec_test!(bid128_scalbn_153, bid128_scalbn, 0, 0xbb260000000000000000000000000000u128, 9 , 0xbb380000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_154, bid128_scalbn, 0, 0xdeffffffffbfff7ffcfbffdd4f8fbfe3u128, 289410051 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_155, bid128_scalbn, 0, 0xdffe0000000000000000000000000000u128, 0 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_156, bid128_scalbn, 0, 0xdffe0000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_157, bid128_scalbn, 0, 0xdffe0000000000000000000000000000u128, -1 , 0xdffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_158, bid128_scalbn, 0, 0xdffe0000000000000000000000000000u128, 1 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_159, bid128_scalbn, 0, 0xe9e5febd782631430000000004000000u128, -3 , 0xa7900000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_160, bid128_scalbn, 0, 0xfc000000000000000000000000000000u128, 10 , 0xfc000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_161, bid128_scalbn, 0, 0xffb7cbffdfa5fef7f7aff9ffb37fdbffu128, 134480896 , 0xfc000bffdfa5fef7f7aff9ffb37fdbffu128, 0x01); dec_test!(bid128_scalbn_162, bid128_scalbn, 0, 0xfffff7fbefffe7ff975f0be6ccd6a23fu128, -2 , 0xfc000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_163, bid128_scalbn, 0, "Infinity" , 0 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_164, bid128_scalbn, 0, "-Infinity" , 0 , 0xf8000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_165, bid128_scalbn, 0, "Infinity" , -1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_166, bid128_scalbn, 0, "Infinity" , 1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_167, bid128_scalbn, 0, "-Infinity" , -1 , 0xf8000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_168, bid128_scalbn, 0, "-Infinity" , 1 , 0xf8000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_169, bid128_scalbn, 0, "QNaN" , 0 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_170, bid128_scalbn, 0, "QNaN" , -1 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_171, bid128_scalbn, 0, "QNaN" , 1 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_172, bid128_scalbn, 0, "SNaN" , 0 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_173, bid128_scalbn, 0, "SNaN" , -1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_174, bid128_scalbn, 0, "SNaN" , 1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_175, bid128_scalbn, 1, 0x00000000000000000000000000000000u128, 0 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_176, bid128_scalbn, 1, 0x00000000000000000000000000000000u128, -1 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_177, bid128_scalbn, 1, 0x00000000000000000000000000000000u128, 1 , 0x00020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_178, bid128_scalbn, 1, 0x00000000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_179, bid128_scalbn, 1, 0x00000000000000000000000000000001u128, 0 , 0x00000000000000000000000000000001u128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_180, bid128_scalbn, 1, 0x00000000000000000000000000000001u128, -1 , 0x00000000000000000000000000000000u128, 0x30); // ulp=.100000000x00); dec_test!(bid128_scalbn_181, bid128_scalbn, 1, 0x00000000000000000000000000000005u128, -1 , 0x00000000000000000000000000000000u128, 0x30); // ulp=.500000000x00); dec_test!(bid128_scalbn_182, bid128_scalbn, 1, 0x0001ed09bead87c0378d8e64ffffffffu128, 0 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_183, bid128_scalbn, 1, 0x0001ed09bead87c0378d8e64ffffffffu128, -1 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_184, bid128_scalbn, 1, 0x0001ed09bead87c0378d8e64ffffffffu128, 1 , 0x00020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_185, bid128_scalbn, 1, 0x0001ed09bead87c0378d8e64ffffffffu128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_186, bid128_scalbn, 1, 0x003e0000000000000000000000000000u128, 0 , 0x003e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_187, bid128_scalbn, 1, 0x003e0000000000000000000000000000u128, -1 , 0x003c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_188, bid128_scalbn, 1, 0x003e0000000000000000000000000000u128, 1 , 0x00400000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_189, bid128_scalbn, 1, 0x003e0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_190, bid128_scalbn, 1, 0x00840000000000000000000000000000u128, 0 , 0x00840000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_191, bid128_scalbn, 1, 0x00840000000000000000000000000000u128, -1 , 0x00820000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_192, bid128_scalbn, 1, 0x00840000000000000000000000000000u128, 1 , 0x00860000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_193, bid128_scalbn, 1, 0x00840000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_194, bid128_scalbn, 1, 0x2d240000000000000000000000000000u128, 0 , 0x2d240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_195, bid128_scalbn, 1, 0x2d240000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_196, bid128_scalbn, 1, 0x2d240000000000000000000000000000u128, -1 , 0x2d220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_197, bid128_scalbn, 1, 0x2d240000000000000000000000000000u128, 1 , 0x2d260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_198, bid128_scalbn, 1, 0x2d260000000000000000000000000000u128, 0 , 0x2d260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_199, bid128_scalbn, 1, 0x2d260000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_200, bid128_scalbn, 1, 0x2d260000000000000000000000000000u128, -1 , 0x2d240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_201, bid128_scalbn, 1, 0x2d260000000000000000000000000000u128, 1 , 0x2d280000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_202, bid128_scalbn, 1, 0x2ffc0000000000000000000000000000u128, 0 , 0x2ffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_203, bid128_scalbn, 1, 0x2ffc0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_204, bid128_scalbn, 1, 0x2ffc0000000000000000000000000000u128, -1 , 0x2ffa0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_205, bid128_scalbn, 1, 0x2ffc0000000000000000000000000000u128, 1 , 0x2ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_206, bid128_scalbn, 1, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 0 , 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_207, bid128_scalbn, 1, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, -1 , 0x2FFBED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_208, bid128_scalbn, 1, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 1 , 0x2FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_209, bid128_scalbn, 1, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 2147483647 , 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0x28); // ulp=0.0000x00); dec_test!(bid128_scalbn_210, bid128_scalbn, 1, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, -2147483648, 0x00000000000000000000000000000000u128, 0x30); // ulp=0.000000000x00); dec_test!(bid128_scalbn_211, bid128_scalbn, 1, 0x30200000000000000000000000000000u128, 0 , 0x30200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_212, bid128_scalbn, 1, 0x30200000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_213, bid128_scalbn, 1, 0x30200000000000000000000000000000u128, -1 , 0x301e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_214, bid128_scalbn, 1, 0x30200000000000000000000000000000u128, 1 , 0x30220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_215, bid128_scalbn, 1, 0x33200000000000000000000000000000u128, 0 , 0x33200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_216, bid128_scalbn, 1, 0x33200000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_217, bid128_scalbn, 1, 0x33200000000000000000000000000000u128, -1 , 0x331e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_218, bid128_scalbn, 1, 0x33200000000000000000000000000000u128, 1 , 0x33220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_219, bid128_scalbn, 1, 0x33220000000000000000000000000000u128, 0 , 0x33220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_220, bid128_scalbn, 1, 0x33220000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_221, bid128_scalbn, 1, 0x33220000000000000000000000000000u128, -1 , 0x33200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_222, bid128_scalbn, 1, 0x33220000000000000000000000000000u128, 1 , 0x33240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_223, bid128_scalbn, 1, 0x5ffa0000000000000000000000000000u128, 0 , 0x5ffa0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_224, bid128_scalbn, 1, 0x5ffa0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_225, bid128_scalbn, 1, 0x5ffa0000000000000000000000000000u128, -1 , 0x5ff80000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_226, bid128_scalbn, 1, 0x5ffa0000000000000000000000000000u128, 1 , 0x5ffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_227, bid128_scalbn, 1, 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0 , 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_228, bid128_scalbn, 1, 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 1 , 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0x28); // ulp=0.000000000x00); dec_test!(bid128_scalbn_229, bid128_scalbn, 1, 0x6003b75d7734cd9e1234567890123456u128, 0 , 0x000e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_230, bid128_scalbn, 1, 0x6003b75d7734cd9e1234567890123456u128, -1 , 0x000c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_231, bid128_scalbn, 1, 0x6003b75d7734cd9e1234567890123456u128, 1 , 0x00100000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_232, bid128_scalbn, 1, 0x6003b75d7734cd9e1234567890123456u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_233, bid128_scalbn, 1, 0x69dbb75d7734cd9e1234567890123456u128, 0 , 0x276e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_234, bid128_scalbn, 1, 0x69dbb75d7734cd9e1234567890123456u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_235, bid128_scalbn, 1, 0x69dbb75d7734cd9e1234567890123456u128, -1 , 0x276c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_236, bid128_scalbn, 1, 0x69dbb75d7734cd9e1234567890123456u128, 1 , 0x27700000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_237, bid128_scalbn, 1, 0x78000000000000000000000000000000u128, 0 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_238, bid128_scalbn, 1, 0x78000000000000000000000000000000u128, 12336256 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_239, bid128_scalbn, 1, 0x78000000000000000000000000000000u128, -1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_240, bid128_scalbn, 1, 0x78000000000000000000000000000000u128, 1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_241, bid128_scalbn, 1, 0x78000001000000000000000000000000u128, 0 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_242, bid128_scalbn, 1, 0x78000001000000000000000000000000u128, 12336256 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_243, bid128_scalbn, 1, 0x78000001000000000000000000000000u128, -1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_244, bid128_scalbn, 1, 0x78000001000000000000000000000000u128, 1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_245, bid128_scalbn, 1, 0x7c000000000000000000000000000000u128, 0 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_246, bid128_scalbn, 1, 0x7c000000000000000000000000000000u128, 12336256 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_247, bid128_scalbn, 1, 0x7c000000000000000000000000000000u128, -1 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_248, bid128_scalbn, 1, 0x7c000000000000000000000000000000u128, 1 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_249, bid128_scalbn, 1, 0x7c000001000000000000000000000000u128, 0 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_250, bid128_scalbn, 1, 0x7c000001000000000000000000000000u128, 12336256 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_251, bid128_scalbn, 1, 0x7c000001000000000000000000000000u128, -1 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_252, bid128_scalbn, 1, 0x7c000001000000000000000000000000u128, 1 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_253, bid128_scalbn, 1, 0x7e000000000000000000000000000000u128, 0 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_254, bid128_scalbn, 1, 0x7e000000000000000000000000000000u128, 12336256 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_255, bid128_scalbn, 1, 0x7e000000000000000000000000000000u128, -1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_256, bid128_scalbn, 1, 0x7e000000000000000000000000000000u128, 1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_257, bid128_scalbn, 1, 0x7e003fffffffefffffffffffffffffffu128, 0 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_258, bid128_scalbn, 1, 0x7e003fffffffefffffffffffffffffffu128, 12336256 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_259, bid128_scalbn, 1, 0x7e003fffffffefffffffffffffffffffu128, -1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_260, bid128_scalbn, 1, 0x7e003fffffffefffffffffffffffffffu128, 1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_261, bid128_scalbn, 1, 0x7ef00000000000000000000000000001u128, 0 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_262, bid128_scalbn, 1, 0x7ef00000000000000000000000000001u128, 12336256 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_263, bid128_scalbn, 1, 0x7ef00000000000000000000000000001u128, -1 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_264, bid128_scalbn, 1, 0x7ef00000000000000000000000000001u128, 1 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_265, bid128_scalbn, 1, 0x80000000000000000000000000000000u128, 0 , 0x80000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_266, bid128_scalbn, 1, 0x80000000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_267, bid128_scalbn, 1, 0x80000000000000000000000000000000u128, -1 , 0x80000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_268, bid128_scalbn, 1, 0x80000000000000000000000000000000u128, 1 , 0x80020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_269, bid128_scalbn, 1, 0xad240000000000000000000000000000u128, 0 , 0xad240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_270, bid128_scalbn, 1, 0xad240000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_271, bid128_scalbn, 1, 0xad240000000000000000000000000000u128, -1 , 0xad220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_272, bid128_scalbn, 1, 0xad240000000000000000000000000000u128, 1 , 0xad260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_273, bid128_scalbn, 1, 0xad3e0000000000000000000000000000u128, 0 , 0xad3e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_274, bid128_scalbn, 1, 0xad3e0000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_275, bid128_scalbn, 1, 0xad3e0000000000000000000000000000u128, -1 , 0xad3c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_276, bid128_scalbn, 1, 0xad3e0000000000000000000000000000u128, 1 , 0xad400000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_277, bid128_scalbn, 1, 0xb0200000000000000000000000000000u128, 0 , 0xb0200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_278, bid128_scalbn, 1, 0xb0200000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_279, bid128_scalbn, 1, 0xb0200000000000000000000000000000u128, -1 , 0xb01e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_280, bid128_scalbn, 1, 0xb0200000000000000000000000000000u128, 1 , 0xb0220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_281, bid128_scalbn, 1, 0xb3200000000000000000000000000000u128, 0 , 0xb3200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_282, bid128_scalbn, 1, 0xb3200000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_283, bid128_scalbn, 1, 0xb3200000000000000000000000000000u128, -1 , 0xb31e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_284, bid128_scalbn, 1, 0xb3200000000000000000000000000000u128, 1 , 0xb3220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_285, bid128_scalbn, 1, 0xdffe0000000000000000000000000000u128, 0 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_286, bid128_scalbn, 1, 0xdffe0000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_287, bid128_scalbn, 1, 0xdffe0000000000000000000000000000u128, -1 , 0xdffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_288, bid128_scalbn, 1, 0xdffe0000000000000000000000000000u128, 1 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_289, bid128_scalbn, 2, 0x00000000000000000000000000000000u128, 0 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_290, bid128_scalbn, 2, 0x00000000000000000000000000000000u128, -1 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_291, bid128_scalbn, 2, 0x00000000000000000000000000000000u128, 1 , 0x00020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_292, bid128_scalbn, 2, 0x00000000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_293, bid128_scalbn, 2, 0x00000000000000000000000000000001u128, 0 , 0x00000000000000000000000000000001u128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_294, bid128_scalbn, 2, 0x00000000000000000000000000000001u128, -1 , 0x00000000000000000000000000000001u128, 0x30); // ulp=-.900000000x00); dec_test!(bid128_scalbn_295, bid128_scalbn, 2, 0x00000000000000000000000000000005u128, -1 , 0x00000000000000000000000000000001u128, 0x30); // ulp=-.50000000x00); dec_test!(bid128_scalbn_296, bid128_scalbn, 2, 0x0001ed09bead87c0378d8e64ffffffffu128, 0 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_297, bid128_scalbn, 2, 0x0001ed09bead87c0378d8e64ffffffffu128, -1 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_298, bid128_scalbn, 2, 0x0001ed09bead87c0378d8e64ffffffffu128, 1 , 0x00020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_299, bid128_scalbn, 2, 0x0001ed09bead87c0378d8e64ffffffffu128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_300, bid128_scalbn, 2, 0x003e0000000000000000000000000000u128, 0 , 0x003e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_301, bid128_scalbn, 2, 0x003e0000000000000000000000000000u128, -1 , 0x003c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_302, bid128_scalbn, 2, 0x003e0000000000000000000000000000u128, 1 , 0x00400000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_303, bid128_scalbn, 2, 0x003e0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_304, bid128_scalbn, 2, 0x00840000000000000000000000000000u128, 0 , 0x00840000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_305, bid128_scalbn, 2, 0x00840000000000000000000000000000u128, -1 , 0x00820000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_306, bid128_scalbn, 2, 0x00840000000000000000000000000000u128, 1 , 0x00860000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_307, bid128_scalbn, 2, 0x00840000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_308, bid128_scalbn, 2, 0x2d240000000000000000000000000000u128, 0 , 0x2d240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_309, bid128_scalbn, 2, 0x2d240000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_310, bid128_scalbn, 2, 0x2d240000000000000000000000000000u128, -1 , 0x2d220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_311, bid128_scalbn, 2, 0x2d240000000000000000000000000000u128, 1 , 0x2d260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_312, bid128_scalbn, 2, 0x2d260000000000000000000000000000u128, 0 , 0x2d260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_313, bid128_scalbn, 2, 0x2d260000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_314, bid128_scalbn, 2, 0x2d260000000000000000000000000000u128, -1 , 0x2d240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_315, bid128_scalbn, 2, 0x2d260000000000000000000000000000u128, 1 , 0x2d280000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_316, bid128_scalbn, 2, 0x2ffc0000000000000000000000000000u128, 0 , 0x2ffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_317, bid128_scalbn, 2, 0x2ffc0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_318, bid128_scalbn, 2, 0x2ffc0000000000000000000000000000u128, -1 , 0x2ffa0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_319, bid128_scalbn, 2, 0x2ffc0000000000000000000000000000u128, 1 , 0x2ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_320, bid128_scalbn, 2, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 0 , 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_321, bid128_scalbn, 2, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, -1 , 0x2FFBED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_322, bid128_scalbn, 2, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 1 , 0x2FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_323, bid128_scalbn, 2, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 2147483647 , 0x78000000000000000000000000000000u128, 0x28); // ulp=0.0000x00); dec_test!(bid128_scalbn_324, bid128_scalbn, 2, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, -2147483648, 0x00000000000000000000000000000001u128, 0x30); // ulp=-1.00000000x00); dec_test!(bid128_scalbn_325, bid128_scalbn, 2, 0x30200000000000000000000000000000u128, 0 , 0x30200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_326, bid128_scalbn, 2, 0x30200000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_327, bid128_scalbn, 2, 0x30200000000000000000000000000000u128, -1 , 0x301e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_328, bid128_scalbn, 2, 0x30200000000000000000000000000000u128, 1 , 0x30220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_329, bid128_scalbn, 2, 0x33200000000000000000000000000000u128, 0 , 0x33200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_330, bid128_scalbn, 2, 0x33200000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_331, bid128_scalbn, 2, 0x33200000000000000000000000000000u128, -1 , 0x331e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_332, bid128_scalbn, 2, 0x33200000000000000000000000000000u128, 1 , 0x33220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_333, bid128_scalbn, 2, 0x33220000000000000000000000000000u128, 0 , 0x33220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_334, bid128_scalbn, 2, 0x33220000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_335, bid128_scalbn, 2, 0x33220000000000000000000000000000u128, -1 , 0x33200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_336, bid128_scalbn, 2, 0x33220000000000000000000000000000u128, 1 , 0x33240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_337, bid128_scalbn, 2, 0x5ffa0000000000000000000000000000u128, 0 , 0x5ffa0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_338, bid128_scalbn, 2, 0x5ffa0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_339, bid128_scalbn, 2, 0x5ffa0000000000000000000000000000u128, -1 , 0x5ff80000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_340, bid128_scalbn, 2, 0x5ffa0000000000000000000000000000u128, 1 , 0x5ffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_341, bid128_scalbn, 2, 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0 , 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_342, bid128_scalbn, 2, 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 1 , 0x78000000000000000000000000000000u128, 0x28); // ulp=0.000000000x00); dec_test!(bid128_scalbn_343, bid128_scalbn, 2, 0x6003b75d7734cd9e1234567890123456u128, 0 , 0x000e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_344, bid128_scalbn, 2, 0x6003b75d7734cd9e1234567890123456u128, -1 , 0x000c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_345, bid128_scalbn, 2, 0x6003b75d7734cd9e1234567890123456u128, 1 , 0x00100000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_346, bid128_scalbn, 2, 0x6003b75d7734cd9e1234567890123456u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_347, bid128_scalbn, 2, 0x69dbb75d7734cd9e1234567890123456u128, 0 , 0x276e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_348, bid128_scalbn, 2, 0x69dbb75d7734cd9e1234567890123456u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_349, bid128_scalbn, 2, 0x69dbb75d7734cd9e1234567890123456u128, -1 , 0x276c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_350, bid128_scalbn, 2, 0x69dbb75d7734cd9e1234567890123456u128, 1 , 0x27700000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_351, bid128_scalbn, 2, 0x78000000000000000000000000000000u128, 0 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_352, bid128_scalbn, 2, 0x78000000000000000000000000000000u128, 12336256 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_353, bid128_scalbn, 2, 0x78000000000000000000000000000000u128, -1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_354, bid128_scalbn, 2, 0x78000000000000000000000000000000u128, 1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_355, bid128_scalbn, 2, 0x78000001000000000000000000000000u128, 0 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_356, bid128_scalbn, 2, 0x78000001000000000000000000000000u128, 12336256 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_357, bid128_scalbn, 2, 0x78000001000000000000000000000000u128, -1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_358, bid128_scalbn, 2, 0x78000001000000000000000000000000u128, 1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_359, bid128_scalbn, 2, 0x7c000000000000000000000000000000u128, 0 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_360, bid128_scalbn, 2, 0x7c000000000000000000000000000000u128, 12336256 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_361, bid128_scalbn, 2, 0x7c000000000000000000000000000000u128, -1 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_362, bid128_scalbn, 2, 0x7c000000000000000000000000000000u128, 1 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_363, bid128_scalbn, 2, 0x7c000001000000000000000000000000u128, 0 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_364, bid128_scalbn, 2, 0x7c000001000000000000000000000000u128, 12336256 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_365, bid128_scalbn, 2, 0x7c000001000000000000000000000000u128, -1 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_366, bid128_scalbn, 2, 0x7c000001000000000000000000000000u128, 1 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_367, bid128_scalbn, 2, 0x7e000000000000000000000000000000u128, 0 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_368, bid128_scalbn, 2, 0x7e000000000000000000000000000000u128, 12336256 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_369, bid128_scalbn, 2, 0x7e000000000000000000000000000000u128, -1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_370, bid128_scalbn, 2, 0x7e000000000000000000000000000000u128, 1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_371, bid128_scalbn, 2, 0x7e003fffffffefffffffffffffffffffu128, 0 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_372, bid128_scalbn, 2, 0x7e003fffffffefffffffffffffffffffu128, 12336256 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_373, bid128_scalbn, 2, 0x7e003fffffffefffffffffffffffffffu128, -1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_374, bid128_scalbn, 2, 0x7e003fffffffefffffffffffffffffffu128, 1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_375, bid128_scalbn, 2, 0x7ef00000000000000000000000000001u128, 0 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_376, bid128_scalbn, 2, 0x7ef00000000000000000000000000001u128, 12336256 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_377, bid128_scalbn, 2, 0x7ef00000000000000000000000000001u128, -1 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_378, bid128_scalbn, 2, 0x7ef00000000000000000000000000001u128, 1 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_379, bid128_scalbn, 2, 0x80000000000000000000000000000000u128, 0 , 0x80000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_380, bid128_scalbn, 2, 0x80000000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_381, bid128_scalbn, 2, 0x80000000000000000000000000000000u128, -1 , 0x80000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_382, bid128_scalbn, 2, 0x80000000000000000000000000000000u128, 1 , 0x80020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_383, bid128_scalbn, 2, 0xad240000000000000000000000000000u128, 0 , 0xad240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_384, bid128_scalbn, 2, 0xad240000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_385, bid128_scalbn, 2, 0xad240000000000000000000000000000u128, -1 , 0xad220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_386, bid128_scalbn, 2, 0xad240000000000000000000000000000u128, 1 , 0xad260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_387, bid128_scalbn, 2, 0xad3e0000000000000000000000000000u128, 0 , 0xad3e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_388, bid128_scalbn, 2, 0xad3e0000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_389, bid128_scalbn, 2, 0xad3e0000000000000000000000000000u128, -1 , 0xad3c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_390, bid128_scalbn, 2, 0xad3e0000000000000000000000000000u128, 1 , 0xad400000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_391, bid128_scalbn, 2, 0xb0200000000000000000000000000000u128, 0 , 0xb0200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_392, bid128_scalbn, 2, 0xb0200000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_393, bid128_scalbn, 2, 0xb0200000000000000000000000000000u128, -1 , 0xb01e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_394, bid128_scalbn, 2, 0xb0200000000000000000000000000000u128, 1 , 0xb0220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_395, bid128_scalbn, 2, 0xb3200000000000000000000000000000u128, 0 , 0xb3200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_396, bid128_scalbn, 2, 0xb3200000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_397, bid128_scalbn, 2, 0xb3200000000000000000000000000000u128, -1 , 0xb31e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_398, bid128_scalbn, 2, 0xb3200000000000000000000000000000u128, 1 , 0xb3220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_399, bid128_scalbn, 2, 0xdffe0000000000000000000000000000u128, 0 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_400, bid128_scalbn, 2, 0xdffe0000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_401, bid128_scalbn, 2, 0xdffe0000000000000000000000000000u128, -1 , 0xdffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_402, bid128_scalbn, 2, 0xdffe0000000000000000000000000000u128, 1 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_403, bid128_scalbn, 3, 0x00000000000000000000000000000000u128, 0 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_404, bid128_scalbn, 3, 0x00000000000000000000000000000000u128, -1 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_405, bid128_scalbn, 3, 0x00000000000000000000000000000000u128, 1 , 0x00020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_406, bid128_scalbn, 3, 0x00000000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_407, bid128_scalbn, 3, 0x00000000000000000000000000000001u128, 0 , 0x00000000000000000000000000000001u128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_408, bid128_scalbn, 3, 0x00000000000000000000000000000001u128, -1 , 0x00000000000000000000000000000000u128, 0x30); // ulp=.100000000x00); dec_test!(bid128_scalbn_409, bid128_scalbn, 3, 0x00000000000000000000000000000005u128, -1 , 0x00000000000000000000000000000000u128, 0x30); // ulp=.500000000x00); dec_test!(bid128_scalbn_410, bid128_scalbn, 3, 0x0001ed09bead87c0378d8e64ffffffffu128, 0 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_411, bid128_scalbn, 3, 0x0001ed09bead87c0378d8e64ffffffffu128, -1 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_412, bid128_scalbn, 3, 0x0001ed09bead87c0378d8e64ffffffffu128, 1 , 0x00020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_413, bid128_scalbn, 3, 0x0001ed09bead87c0378d8e64ffffffffu128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_414, bid128_scalbn, 3, 0x003e0000000000000000000000000000u128, 0 , 0x003e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_415, bid128_scalbn, 3, 0x003e0000000000000000000000000000u128, -1 , 0x003c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_416, bid128_scalbn, 3, 0x003e0000000000000000000000000000u128, 1 , 0x00400000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_417, bid128_scalbn, 3, 0x003e0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_418, bid128_scalbn, 3, 0x00840000000000000000000000000000u128, 0 , 0x00840000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_419, bid128_scalbn, 3, 0x00840000000000000000000000000000u128, -1 , 0x00820000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_420, bid128_scalbn, 3, 0x00840000000000000000000000000000u128, 1 , 0x00860000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_421, bid128_scalbn, 3, 0x00840000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_422, bid128_scalbn, 3, 0x2d240000000000000000000000000000u128, 0 , 0x2d240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_423, bid128_scalbn, 3, 0x2d240000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_424, bid128_scalbn, 3, 0x2d240000000000000000000000000000u128, -1 , 0x2d220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_425, bid128_scalbn, 3, 0x2d240000000000000000000000000000u128, 1 , 0x2d260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_426, bid128_scalbn, 3, 0x2d260000000000000000000000000000u128, 0 , 0x2d260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_427, bid128_scalbn, 3, 0x2d260000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_428, bid128_scalbn, 3, 0x2d260000000000000000000000000000u128, -1 , 0x2d240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_429, bid128_scalbn, 3, 0x2d260000000000000000000000000000u128, 1 , 0x2d280000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_430, bid128_scalbn, 3, 0x2ffc0000000000000000000000000000u128, 0 , 0x2ffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_431, bid128_scalbn, 3, 0x2ffc0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_432, bid128_scalbn, 3, 0x2ffc0000000000000000000000000000u128, -1 , 0x2ffa0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_433, bid128_scalbn, 3, 0x2ffc0000000000000000000000000000u128, 1 , 0x2ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_434, bid128_scalbn, 3, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 0 , 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_435, bid128_scalbn, 3, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, -1 , 0x2FFBED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_436, bid128_scalbn, 3, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 1 , 0x2FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_437, bid128_scalbn, 3, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, 2147483647 , 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0x28); // ulp=0.0000x00); dec_test!(bid128_scalbn_438, bid128_scalbn, 3, 0x2FFDED09BEAD87C0378D8E63FFFFFFFFu128, -2147483648, 0x00000000000000000000000000000000u128, 0x30); // ulp=0.000000000x00); dec_test!(bid128_scalbn_439, bid128_scalbn, 3, 0x30200000000000000000000000000000u128, 0 , 0x30200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_440, bid128_scalbn, 3, 0x30200000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_441, bid128_scalbn, 3, 0x30200000000000000000000000000000u128, -1 , 0x301e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_442, bid128_scalbn, 3, 0x30200000000000000000000000000000u128, 1 , 0x30220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_443, bid128_scalbn, 3, 0x33200000000000000000000000000000u128, 0 , 0x33200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_444, bid128_scalbn, 3, 0x33200000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_445, bid128_scalbn, 3, 0x33200000000000000000000000000000u128, -1 , 0x331e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_446, bid128_scalbn, 3, 0x33200000000000000000000000000000u128, 1 , 0x33220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_447, bid128_scalbn, 3, 0x33220000000000000000000000000000u128, 0 , 0x33220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_448, bid128_scalbn, 3, 0x33220000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_449, bid128_scalbn, 3, 0x33220000000000000000000000000000u128, -1 , 0x33200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_450, bid128_scalbn, 3, 0x33220000000000000000000000000000u128, 1 , 0x33240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_451, bid128_scalbn, 3, 0x5ffa0000000000000000000000000000u128, 0 , 0x5ffa0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_452, bid128_scalbn, 3, 0x5ffa0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_453, bid128_scalbn, 3, 0x5ffa0000000000000000000000000000u128, -1 , 0x5ff80000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_454, bid128_scalbn, 3, 0x5ffa0000000000000000000000000000u128, 1 , 0x5ffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_455, bid128_scalbn, 3, 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0 , 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0x00); // ulp=0.000000000x00); dec_test!(bid128_scalbn_456, bid128_scalbn, 3, 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 1 , 0x5FFFED09BEAD87C0378D8E63FFFFFFFFu128, 0x28); // ulp=0.000000000x00); dec_test!(bid128_scalbn_457, bid128_scalbn, 3, 0x6003b75d7734cd9e1234567890123456u128, 0 , 0x000e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_458, bid128_scalbn, 3, 0x6003b75d7734cd9e1234567890123456u128, -1 , 0x000c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_459, bid128_scalbn, 3, 0x6003b75d7734cd9e1234567890123456u128, 1 , 0x00100000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_460, bid128_scalbn, 3, 0x6003b75d7734cd9e1234567890123456u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_461, bid128_scalbn, 3, 0x69dbb75d7734cd9e1234567890123456u128, 0 , 0x276e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_462, bid128_scalbn, 3, 0x69dbb75d7734cd9e1234567890123456u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_463, bid128_scalbn, 3, 0x69dbb75d7734cd9e1234567890123456u128, -1 , 0x276c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_464, bid128_scalbn, 3, 0x69dbb75d7734cd9e1234567890123456u128, 1 , 0x27700000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_465, bid128_scalbn, 3, 0x78000000000000000000000000000000u128, 0 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_466, bid128_scalbn, 3, 0x78000000000000000000000000000000u128, 12336256 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_467, bid128_scalbn, 3, 0x78000000000000000000000000000000u128, -1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_468, bid128_scalbn, 3, 0x78000000000000000000000000000000u128, 1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_469, bid128_scalbn, 3, 0x78000001000000000000000000000000u128, 0 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_470, bid128_scalbn, 3, 0x78000001000000000000000000000000u128, 12336256 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_471, bid128_scalbn, 3, 0x78000001000000000000000000000000u128, -1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_472, bid128_scalbn, 3, 0x78000001000000000000000000000000u128, 1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_473, bid128_scalbn, 3, 0x7c000000000000000000000000000000u128, 0 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_474, bid128_scalbn, 3, 0x7c000000000000000000000000000000u128, 12336256 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_475, bid128_scalbn, 3, 0x7c000000000000000000000000000000u128, -1 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_476, bid128_scalbn, 3, 0x7c000000000000000000000000000000u128, 1 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_477, bid128_scalbn, 3, 0x7c000001000000000000000000000000u128, 0 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_478, bid128_scalbn, 3, 0x7c000001000000000000000000000000u128, 12336256 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_479, bid128_scalbn, 3, 0x7c000001000000000000000000000000u128, -1 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_480, bid128_scalbn, 3, 0x7c000001000000000000000000000000u128, 1 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_481, bid128_scalbn, 3, 0x7e000000000000000000000000000000u128, 0 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_482, bid128_scalbn, 3, 0x7e000000000000000000000000000000u128, 12336256 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_483, bid128_scalbn, 3, 0x7e000000000000000000000000000000u128, -1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_484, bid128_scalbn, 3, 0x7e000000000000000000000000000000u128, 1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_485, bid128_scalbn, 3, 0x7e003fffffffefffffffffffffffffffu128, 0 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_486, bid128_scalbn, 3, 0x7e003fffffffefffffffffffffffffffu128, 12336256 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_487, bid128_scalbn, 3, 0x7e003fffffffefffffffffffffffffffu128, -1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_488, bid128_scalbn, 3, 0x7e003fffffffefffffffffffffffffffu128, 1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_489, bid128_scalbn, 3, 0x7ef00000000000000000000000000001u128, 0 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_490, bid128_scalbn, 3, 0x7ef00000000000000000000000000001u128, 12336256 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_491, bid128_scalbn, 3, 0x7ef00000000000000000000000000001u128, -1 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_492, bid128_scalbn, 3, 0x7ef00000000000000000000000000001u128, 1 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_493, bid128_scalbn, 3, 0x80000000000000000000000000000000u128, 0 , 0x80000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_494, bid128_scalbn, 3, 0x80000000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_495, bid128_scalbn, 3, 0x80000000000000000000000000000000u128, -1 , 0x80000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_496, bid128_scalbn, 3, 0x80000000000000000000000000000000u128, 1 , 0x80020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_497, bid128_scalbn, 3, 0xad240000000000000000000000000000u128, 0 , 0xad240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_498, bid128_scalbn, 3, 0xad240000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_499, bid128_scalbn, 3, 0xad240000000000000000000000000000u128, -1 , 0xad220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_500, bid128_scalbn, 3, 0xad240000000000000000000000000000u128, 1 , 0xad260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_501, bid128_scalbn, 3, 0xad3e0000000000000000000000000000u128, 0 , 0xad3e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_502, bid128_scalbn, 3, 0xad3e0000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_503, bid128_scalbn, 3, 0xad3e0000000000000000000000000000u128, -1 , 0xad3c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_504, bid128_scalbn, 3, 0xad3e0000000000000000000000000000u128, 1 , 0xad400000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_505, bid128_scalbn, 3, 0xb0200000000000000000000000000000u128, 0 , 0xb0200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_506, bid128_scalbn, 3, 0xb0200000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_507, bid128_scalbn, 3, 0xb0200000000000000000000000000000u128, -1 , 0xb01e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_508, bid128_scalbn, 3, 0xb0200000000000000000000000000000u128, 1 , 0xb0220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_509, bid128_scalbn, 3, 0xb3200000000000000000000000000000u128, 0 , 0xb3200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_510, bid128_scalbn, 3, 0xb3200000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_511, bid128_scalbn, 3, 0xb3200000000000000000000000000000u128, -1 , 0xb31e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_512, bid128_scalbn, 3, 0xb3200000000000000000000000000000u128, 1 , 0xb3220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_513, bid128_scalbn, 3, 0xdffe0000000000000000000000000000u128, 0 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_514, bid128_scalbn, 3, 0xdffe0000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_515, bid128_scalbn, 3, 0xdffe0000000000000000000000000000u128, -1 , 0xdffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_516, bid128_scalbn, 3, 0xdffe0000000000000000000000000000u128, 1 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_517, bid128_scalbn, 4, 0x00000000000000000000000000000000u128, 0 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_518, bid128_scalbn, 4, 0x00000000000000000000000000000000u128, -1 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_519, bid128_scalbn, 4, 0x00000000000000000000000000000000u128, 1 , 0x00020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_520, bid128_scalbn, 4, 0x00000000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_521, bid128_scalbn, 4, 0x00000000000000000000000000000005u128, -1 , 0x00000000000000000000000000000001u128, 0x30); // ulp=-.50000000x00); dec_test!(bid128_scalbn_522, bid128_scalbn, 4, 0x0001ed09bead87c0378d8e64ffffffffu128, 0 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_523, bid128_scalbn, 4, 0x0001ed09bead87c0378d8e64ffffffffu128, -1 , 0x00000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_524, bid128_scalbn, 4, 0x0001ed09bead87c0378d8e64ffffffffu128, 1 , 0x00020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_525, bid128_scalbn, 4, 0x0001ed09bead87c0378d8e64ffffffffu128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_526, bid128_scalbn, 4, 0x003e0000000000000000000000000000u128, 0 , 0x003e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_527, bid128_scalbn, 4, 0x003e0000000000000000000000000000u128, -1 , 0x003c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_528, bid128_scalbn, 4, 0x003e0000000000000000000000000000u128, 1 , 0x00400000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_529, bid128_scalbn, 4, 0x003e0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_530, bid128_scalbn, 4, 0x00840000000000000000000000000000u128, 0 , 0x00840000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_531, bid128_scalbn, 4, 0x00840000000000000000000000000000u128, -1 , 0x00820000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_532, bid128_scalbn, 4, 0x00840000000000000000000000000000u128, 1 , 0x00860000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_533, bid128_scalbn, 4, 0x00840000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_534, bid128_scalbn, 4, 0x2d240000000000000000000000000000u128, 0 , 0x2d240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_535, bid128_scalbn, 4, 0x2d240000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_536, bid128_scalbn, 4, 0x2d240000000000000000000000000000u128, -1 , 0x2d220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_537, bid128_scalbn, 4, 0x2d240000000000000000000000000000u128, 1 , 0x2d260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_538, bid128_scalbn, 4, 0x2d260000000000000000000000000000u128, 0 , 0x2d260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_539, bid128_scalbn, 4, 0x2d260000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_540, bid128_scalbn, 4, 0x2d260000000000000000000000000000u128, -1 , 0x2d240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_541, bid128_scalbn, 4, 0x2d260000000000000000000000000000u128, 1 , 0x2d280000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_542, bid128_scalbn, 4, 0x2ffc0000000000000000000000000000u128, 0 , 0x2ffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_543, bid128_scalbn, 4, 0x2ffc0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_544, bid128_scalbn, 4, 0x2ffc0000000000000000000000000000u128, -1 , 0x2ffa0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_545, bid128_scalbn, 4, 0x2ffc0000000000000000000000000000u128, 1 , 0x2ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_546, bid128_scalbn, 4, 0x30200000000000000000000000000000u128, 0 , 0x30200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_547, bid128_scalbn, 4, 0x30200000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_548, bid128_scalbn, 4, 0x30200000000000000000000000000000u128, -1 , 0x301e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_549, bid128_scalbn, 4, 0x30200000000000000000000000000000u128, 1 , 0x30220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_550, bid128_scalbn, 4, 0x33200000000000000000000000000000u128, 0 , 0x33200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_551, bid128_scalbn, 4, 0x33200000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_552, bid128_scalbn, 4, 0x33200000000000000000000000000000u128, -1 , 0x331e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_553, bid128_scalbn, 4, 0x33200000000000000000000000000000u128, 1 , 0x33220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_554, bid128_scalbn, 4, 0x33220000000000000000000000000000u128, 0 , 0x33220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_555, bid128_scalbn, 4, 0x33220000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_556, bid128_scalbn, 4, 0x33220000000000000000000000000000u128, -1 , 0x33200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_557, bid128_scalbn, 4, 0x33220000000000000000000000000000u128, 1 , 0x33240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_558, bid128_scalbn, 4, 0x5ffa0000000000000000000000000000u128, 0 , 0x5ffa0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_559, bid128_scalbn, 4, 0x5ffa0000000000000000000000000000u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_560, bid128_scalbn, 4, 0x5ffa0000000000000000000000000000u128, -1 , 0x5ff80000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_561, bid128_scalbn, 4, 0x5ffa0000000000000000000000000000u128, 1 , 0x5ffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_562, bid128_scalbn, 4, 0x6003b75d7734cd9e1234567890123456u128, 0 , 0x000e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_563, bid128_scalbn, 4, 0x6003b75d7734cd9e1234567890123456u128, -1 , 0x000c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_564, bid128_scalbn, 4, 0x6003b75d7734cd9e1234567890123456u128, 1 , 0x00100000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_565, bid128_scalbn, 4, 0x6003b75d7734cd9e1234567890123456u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_566, bid128_scalbn, 4, 0x69dbb75d7734cd9e1234567890123456u128, 0 , 0x276e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_567, bid128_scalbn, 4, 0x69dbb75d7734cd9e1234567890123456u128, 12336256 , 0x5ffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_568, bid128_scalbn, 4, 0x69dbb75d7734cd9e1234567890123456u128, -1 , 0x276c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_569, bid128_scalbn, 4, 0x69dbb75d7734cd9e1234567890123456u128, 1 , 0x27700000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_570, bid128_scalbn, 4, 0x78000000000000000000000000000000u128, 0 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_571, bid128_scalbn, 4, 0x78000000000000000000000000000000u128, 12336256 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_572, bid128_scalbn, 4, 0x78000000000000000000000000000000u128, -1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_573, bid128_scalbn, 4, 0x78000000000000000000000000000000u128, 1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_574, bid128_scalbn, 4, 0x78000001000000000000000000000000u128, 0 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_575, bid128_scalbn, 4, 0x78000001000000000000000000000000u128, 12336256 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_576, bid128_scalbn, 4, 0x78000001000000000000000000000000u128, -1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_577, bid128_scalbn, 4, 0x78000001000000000000000000000000u128, 1 , 0x78000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_578, bid128_scalbn, 4, 0x7c000000000000000000000000000000u128, 0 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_579, bid128_scalbn, 4, 0x7c000000000000000000000000000000u128, 12336256 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_580, bid128_scalbn, 4, 0x7c000000000000000000000000000000u128, -1 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_581, bid128_scalbn, 4, 0x7c000000000000000000000000000000u128, 1 , 0x7c000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_582, bid128_scalbn, 4, 0x7c000001000000000000000000000000u128, 0 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_583, bid128_scalbn, 4, 0x7c000001000000000000000000000000u128, 12336256 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_584, bid128_scalbn, 4, 0x7c000001000000000000000000000000u128, -1 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_585, bid128_scalbn, 4, 0x7c000001000000000000000000000000u128, 1 , 0x7c000001000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_586, bid128_scalbn, 4, 0x7e000000000000000000000000000000u128, 0 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_587, bid128_scalbn, 4, 0x7e000000000000000000000000000000u128, 12336256 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_588, bid128_scalbn, 4, 0x7e000000000000000000000000000000u128, -1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_589, bid128_scalbn, 4, 0x7e000000000000000000000000000000u128, 1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_590, bid128_scalbn, 4, 0x7e003fffffffefffffffffffffffffffu128, 0 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_591, bid128_scalbn, 4, 0x7e003fffffffefffffffffffffffffffu128, 12336256 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_592, bid128_scalbn, 4, 0x7e003fffffffefffffffffffffffffffu128, -1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_593, bid128_scalbn, 4, 0x7e003fffffffefffffffffffffffffffu128, 1 , 0x7c000000000000000000000000000000u128, 0x01); dec_test!(bid128_scalbn_594, bid128_scalbn, 4, 0x7ef00000000000000000000000000001u128, 0 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_595, bid128_scalbn, 4, 0x7ef00000000000000000000000000001u128, 12336256 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_596, bid128_scalbn, 4, 0x7ef00000000000000000000000000001u128, -1 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_597, bid128_scalbn, 4, 0x7ef00000000000000000000000000001u128, 1 , 0x7c000000000000000000000000000001u128, 0x01); dec_test!(bid128_scalbn_598, bid128_scalbn, 4, 0x80000000000000000000000000000000u128, 0 , 0x80000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_599, bid128_scalbn, 4, 0x80000000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_600, bid128_scalbn, 4, 0x80000000000000000000000000000000u128, -1 , 0x80000000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_601, bid128_scalbn, 4, 0x80000000000000000000000000000000u128, 1 , 0x80020000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_602, bid128_scalbn, 4, 0xad240000000000000000000000000000u128, 0 , 0xad240000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_603, bid128_scalbn, 4, 0xad240000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_604, bid128_scalbn, 4, 0xad240000000000000000000000000000u128, -1 , 0xad220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_605, bid128_scalbn, 4, 0xad240000000000000000000000000000u128, 1 , 0xad260000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_606, bid128_scalbn, 4, 0xad3e0000000000000000000000000000u128, 0 , 0xad3e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_607, bid128_scalbn, 4, 0xad3e0000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_608, bid128_scalbn, 4, 0xad3e0000000000000000000000000000u128, -1 , 0xad3c0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_609, bid128_scalbn, 4, 0xad3e0000000000000000000000000000u128, 1 , 0xad400000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_610, bid128_scalbn, 4, 0xb0200000000000000000000000000000u128, 0 , 0xb0200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_611, bid128_scalbn, 4, 0xb0200000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_612, bid128_scalbn, 4, 0xb0200000000000000000000000000000u128, -1 , 0xb01e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_613, bid128_scalbn, 4, 0xb0200000000000000000000000000000u128, 1 , 0xb0220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_614, bid128_scalbn, 4, 0xb3200000000000000000000000000000u128, 0 , 0xb3200000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_615, bid128_scalbn, 4, 0xb3200000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_616, bid128_scalbn, 4, 0xb3200000000000000000000000000000u128, -1 , 0xb31e0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_617, bid128_scalbn, 4, 0xb3200000000000000000000000000000u128, 1 , 0xb3220000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_618, bid128_scalbn, 4, 0xdffe0000000000000000000000000000u128, 0 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_619, bid128_scalbn, 4, 0xdffe0000000000000000000000000000u128, 12336256 , 0xdffe0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_620, bid128_scalbn, 4, 0xdffe0000000000000000000000000000u128, -1 , 0xdffc0000000000000000000000000000u128, 0x00); dec_test!(bid128_scalbn_621, bid128_scalbn, 4, 0xdffe0000000000000000000000000000u128, 1 , 0xdffe0000000000000000000000000000u128, 0x00);