/* ---------------------------------------------------------------------------------------------------*/ /* 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_llround_001, bid128_llround, 0x2FFCF684DF56C3E01BC6C73200000000u128, 1 , 0x00); // -- 0.5 dec_test!(bid128_llround_002, bid128_llround, 0x2FFDEC8B86EF679D76FC433D80000000u128, 1 , 0x00); // -- 0.999 dec_test!(bid128_llround_003, bid128_llround, 0x2FFE314DC6448D9338C15B0A00000000u128, 1 , 0x00); // -- 1 dec_test!(bid128_llround_004, bid128_llround, 0x2FFE49F4A966D45CD522088F00000000u128, 2 , 0x00); // -- 1.5 dec_test!(bid128_llround_005, bid128_llround, 0x300293E952CDA8B9AA44111E00000000u128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_006, bid128_llround, 0x300294286EACB8CB0A8CB6B140000000u128, 301 , 0x00); // -- 300.5 dec_test!(bid128_llround_007, bid128_llround, 0x30040ECA8847C4129106CE8300000000u128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_008, bid128_llround, 0x300A0003C95A2F0B4856475FE0000000u128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_009, bid128_llround, 0x300C000060EF6B1ABA6F072330000000u128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_010, bid128_llround, 0x301069E10DE628D3A6C9CC9B8E800000u128, 2147483647 , 0x00); // -- 2^31-1.5 dec_test!(bid128_llround_011, bid128_llround, 0x301069E10DE692B4B4B133125F000000u128, 2147483647 , 0x00); // -- 2^31-1 dec_test!(bid128_llround_012, bid128_llround, 0x301069E10DE6FC95C29899892F800000u128, 2147483648 , 0x00); // -- 2^31-0.5 dec_test!(bid128_llround_013, bid128_llround, 0x301069E10DE76676D080000000000000u128, 2147483648 , 0x00); // -- 2^31 dec_test!(bid128_llround_014, bid128_llround, 0x301069E10DE7D057DE676676D0800000u128, 2147483649 , 0x00); // -- 2^31+0.5 dec_test!(bid128_llround_015, bid128_llround, 0x301069E10DE83A38EC4ECCEDA1000000u128, 2147483649 , 0x00); // -- 2^31+1 dec_test!(bid128_llround_016, bid128_llround, 0x3010C5371912364CE3056C2800000000u128, 4000000000 , 0x00); // -- 4e9 dec_test!(bid128_llround_017, bid128_llround, 0x3010D3C21BCDF92B853133125F000000u128, 4294967295 , 0x00); // -- 2^32-1 dec_test!(bid128_llround_018, bid128_llround, 0x3010D3C21BCE630C931899892F800000u128, 4294967296 , 0x00); // -- 2^32-0.5 dec_test!(bid128_llround_019, bid128_llround, 0x3010D3C21BCECCEDA100000000000000u128, 4294967296 , 0x00); // -- 2^32 dec_test!(bid128_llround_020, bid128_llround, 0x3010D3C21BCF36CEAEE76676D0800000u128, 4294967297 , 0x00); // -- 2^32+0.5 dec_test!(bid128_llround_021, bid128_llround, 0x3010D3C21BCFA0AFBCCECCEDA1000000u128, 4294967297 , 0x00); // -- 2^32+1 dec_test!(bid128_llround_022, bid128_llround, 0x3010F684DF56C3E01BC6C73200000000u128, 5000000000 , 0x00); // -- 5e9 dec_test!(bid128_llround_023, bid128_llround, 0x3012629B8C88FB62ED56E4238E400000u128, 19999999999 , 0x00); // -- 2e10-1.5 dec_test!(bid128_llround_024, bid128_llround, 0x3012629B8C8905F96EBAD4C909800000u128, 19999999999 , 0x00); // -- 2e10-1 dec_test!(bid128_llround_025, bid128_llround, 0x3012629B8C89108FF01EC56E84C00000u128, 20000000000 , 0x00); // -- 2e10-0.5 dec_test!(bid128_llround_026, bid128_llround, 0x3012629B8C891B267182B61400000000u128, 20000000000 , 0x00); // -- 2e10 dec_test!(bid128_llround_027, bid128_llround, 0x3012629B8C8925BCF2E6A6B97B400000u128, 20000000001 , 0x00); // -- 2e10+0.5 dec_test!(bid128_llround_028, bid128_llround, 0x3012629B8C893053744A975EF6800000u128, 20000000001 , 0x00); // -- 2e10+1 dec_test!(bid128_llround_029, bid128_llround, 0x3012629B8C893AE9F5AE880471C00000u128, 20000000002 , 0x00); // -- 2e10+1.5 dec_test!(bid128_llround_030, bid128_llround, 0x301600000000003627E8F712373C0000u128, 1 , 0x00); // -- 0.999 dec_test!(bid128_llround_031, bid128_llround, 0x30180002B5E3AF0E8FDCF2BBEB680000u128, 2147483647 , 0x00); // -- 2^31-1.5 dec_test!(bid128_llround_032, bid128_llround, 0x30180002B5E3AF13FBA450E94E780000u128, 2147483648 , 0x00); // -- 2^31-0.5 dec_test!(bid128_llround_033, bid128_llround, 0x30180002B5E3AF19676BAF16B1880000u128, 2147483649 , 0x00); // -- 2^31+0.5 dec_test!(bid128_llround_034, bid128_llround, 0x301800056BC75E2AAD2C50E94E780000u128, 4294967296 , 0x00); // -- 2^32-0.5 dec_test!(bid128_llround_035, bid128_llround, 0x301800056BC75E3018F3AF16B1880000u128, 4294967297 , 0x00); // -- 2^32+0.5 dec_test!(bid128_llround_036, bid128_llround, 0x301A0000000000004563918244F40000u128, 1 , 0x00); // -- 0.5 dec_test!(bid128_llround_037, bid128_llround, 0x301A0000000000008AC7230489E80000u128, 1 , 0x00); // -- 1 dec_test!(bid128_llround_038, bid128_llround, 0x301A0000000000A2E6C09AD3E0D40000u128, 301 , 0x00); // -- 300.5 dec_test!(bid128_llround_039, bid128_llround, 0x301A000045639181BA2CDCFB76180000u128, 2147483647 , 0x00); // -- 2^31-1 dec_test!(bid128_llround_040, bid128_llround, 0x301A00004563918244F4000000000000u128, 2147483648 , 0x00); // -- 2^31 dec_test!(bid128_llround_041, bid128_llround, 0x301A000045639182CFBB230489E80000u128, 2147483649 , 0x00); // -- 2^31+1 dec_test!(bid128_llround_042, bid128_llround, 0x301A00008AC72303FF20DCFB76180000u128, 4294967295 , 0x00); // -- 2^32-1 dec_test!(bid128_llround_043, bid128_llround, 0x301A00008AC7230489E8000000000000u128, 4294967296 , 0x00); // -- 2^32 dec_test!(bid128_llround_044, bid128_llround, 0x301A00008AC7230514AF230489E80000u128, 4294967297 , 0x00); // -- 2^32+1 dec_test!(bid128_llround_045, bid128_llround, 0x301C00000000000014D1120D7B160000u128, 2 , 0x00); // -- 1.5 dec_test!(bid128_llround_046, bid128_llround, 0x301C629B8C891B265CB1A40684EA0000u128, 1999999999999999 , 0x00); // -- 2e15-1.5 dec_test!(bid128_llround_047, bid128_llround, 0x301C629B8C891B2663A1FF60589C0000u128, 1999999999999999 , 0x00); // -- 2e15-1 dec_test!(bid128_llround_048, bid128_llround, 0x301C629B8C891B266A925ABA2C4E0000u128, 2000000000000000 , 0x00); // -- 2e15-0.5 dec_test!(bid128_llround_049, bid128_llround, 0x301C629B8C891B267182B61400000000u128, 2000000000000000 , 0x00); // -- 2e15 dec_test!(bid128_llround_050, bid128_llround, 0x301C629B8C891B267873116DD3B20000u128, 2000000000000001 , 0x00); // -- 2e15+0.5 dec_test!(bid128_llround_051, bid128_llround, 0x301C629B8C891B267F636CC7A7640000u128, 2000000000000001 , 0x00); // -- 2e15+1 dec_test!(bid128_llround_052, bid128_llround, 0x301C629B8C891B268653C8217B160000u128, 2000000000000002 , 0x00); // -- 2e15+1.5 dec_test!(bid128_llround_053, bid128_llround, 0x301E000000000001A055690D9DB80000u128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_054, bid128_llround, 0x302000000000000029A2241AF62C0000u128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_055, bid128_llround, 0x302000FC6F7C4045813459C637E08000u128, 2000000000000001 , 0x00); // -- 2e15+0.5 dec_test!(bid128_llround_056, bid128_llround, 0x302000FC6F7C40458157E0B8A7A18000u128, 2000000000000002 , 0x00); // -- 2e15+1.5 dec_test!(bid128_llround_057, bid128_llround, 0x302200193E5939A08CE4879688D64000u128, 1999999999999999 , 0x00); // -- 2e15-1.5 dec_test!(bid128_llround_058, bid128_llround, 0x302200193E5939A08CE815152D9CC000u128, 2000000000000000 , 0x00); // -- 2e15-0.5 dec_test!(bid128_llround_059, bid128_llround, 0x3023C6BF52633FFFFFFAABC208D64000u128, 9223372036854775807 , 0x00); // -- 2^63-1.5 dec_test!(bid128_llround_060, bid128_llround, 0x3023C6BF52633FFFFFFC72815B398000u128, 9223372036854775807 , 0x00); // -- 2^63-1 dec_test!(bid128_llround_061, bid128_llround, 0x3023C6BF52633FFFFFFE3940AD9CC000u128, -9223372036854775808 , 0x01); // -- 2^63-0.5 dec_test!(bid128_llround_062, bid128_llround, 0x3023C6BF526340000000000000000000u128, -9223372036854775808 , 0x01); // -- 2^63 dec_test!(bid128_llround_063, bid128_llround, 0x3023C6BF526340000001C6BF52634000u128, -9223372036854775808 , 0x01); // -- 2^63+0.5 dec_test!(bid128_llround_064, bid128_llround, 0x3023C6BF5263400000038D7EA4C68000u128, -9223372036854775808 , 0x01); // -- 2^63+1 dec_test!(bid128_llround_065, bid128_llround, 0x3024000000000000006A94D74F430000u128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_066, bid128_llround, 0x3024314DC6448D9338C15B0A00000000u128, -9223372036854775808 , 0x01); // -- 1e19 dec_test!(bid128_llround_067, bid128_llround, 0x3024314DC6448D9338C18883883D2000u128, -9223372036854775808 , 0x01); // -- 1e19+0.5 dec_test!(bid128_llround_068, bid128_llround, 0x302449F4A966D45CD522088F00000000u128, -9223372036854775808 , 0x01); // -- 1.5e19 dec_test!(bid128_llround_069, bid128_llround, 0x30245AF3107A3FFFFFFFA50CEF85C000u128, -9223372036854775808 , 0x01); // -- 2^64-1 dec_test!(bid128_llround_070, bid128_llround, 0x30245AF3107A3FFFFFFFD28677C2E000u128, -9223372036854775808 , 0x01); // -- 2^64-0.5 dec_test!(bid128_llround_071, bid128_llround, 0x30245AF3107A40000000000000000000u128, -9223372036854775808 , 0x01); // -- 2^64 dec_test!(bid128_llround_072, bid128_llround, 0x30245AF3107A400000002D79883D2000u128, -9223372036854775808 , 0x01); // -- 2^64+0.5 dec_test!(bid128_llround_073, bid128_llround, 0x30245AF3107A400000005AF3107A4000u128, -9223372036854775808 , 0x01); // -- 2^64+1 dec_test!(bid128_llround_074, bid128_llround, 0x3024629B8C891B267182B61400000000u128, -9223372036854775808 , 0x01); // -- 2e19 dec_test!(bid128_llround_075, bid128_llround, 0x30247B426FAB61F00DE3639900000000u128, -9223372036854775808 , 0x01); // -- 2.5e19 dec_test!(bid128_llround_076, bid128_llround, 0x3026314DC6448D9338C15B0A00000000u128, -9223372036854775808 , 0x01); // -- 1e20 dec_test!(bid128_llround_077, bid128_llround, 0x302A0000000000000000001742810700u128, 1 , 0x00); // -- 0.999 dec_test!(bid128_llround_078, bid128_llround, 0x302A00000000006C6B935B68D08DA400u128, 19999999999 , 0x00); // -- 2e10-1.5 dec_test!(bid128_llround_079, bid128_llround, 0x302A00000000006C6B935B8019048C00u128, 20000000000 , 0x00); // -- 2e10-0.5 dec_test!(bid128_llround_080, bid128_llround, 0x302C000000000000000002BBA7F52200u128, 301 , 0x00); // -- 300.5 dec_test!(bid128_llround_081, bid128_llround, 0x302C00000000000AD78EBC5872141C00u128, 19999999999 , 0x00); // -- 2e10-1 dec_test!(bid128_llround_082, bid128_llround, 0x302C00000000000AD78EBC5BF025F200u128, 20000000001 , 0x00); // -- 2e10+0.5 dec_test!(bid128_llround_083, bid128_llround, 0x302C00000000000AD78EBC5E4431D600u128, 20000000002 , 0x00); // -- 2e10+1.5 dec_test!(bid128_llround_084, bid128_llround, 0x302C000000108B2A2C28028E3FF41C00u128, 1999999999999999 , 0x00); // -- 2e15-1 dec_test!(bid128_llround_085, bid128_llround, 0x302E000000000000000000001DCD6500u128, 1 , 0x00); // -- 0.5 dec_test!(bid128_llround_086, bid128_llround, 0x302E000000000000000000003B9ACA00u128, 1 , 0x00); // -- 1 dec_test!(bid128_llround_087, bid128_llround, 0x302E0000000000000000000059682F00u128, 2 , 0x00); // -- 1.5 dec_test!(bid128_llround_088, bid128_llround, 0x302E000000000001158E46094F6ACA00u128, 20000000001 , 0x00); // -- 2e10+1 dec_test!(bid128_llround_089, bid128_llround, 0x302E00000001A784379D99DB7D9ACA00u128, 2000000000000001 , 0x00); // -- 2e15+1 dec_test!(bid128_llround_090, bid128_llround, 0x303000000000000000000006FC23AC00u128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_091, bid128_llround, 0x303200000000000000000000B2D05E00u128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_092, bid128_llround, 0x303800000000000000000000002DDA48u128, 301 , 0x00); // -- 300.5 dec_test!(bid128_llround_093, bid128_llround, 0x303A00000000000000000000000003E7u128, 1 , 0x00); // -- 0.999 dec_test!(bid128_llround_094, bid128_llround, 0x303A00000000000000000000000005DCu128, 2 , 0x00); // -- 1.5 dec_test!(bid128_llround_095, bid128_llround, 0x303A00000000000000000000000495D4u128, 301 , 0x00); // -- 300.5 dec_test!(bid128_llround_096, bid128_llround, 0x303C0000000000000000000000000096u128, 2 , 0x00); // -- 1.5 dec_test!(bid128_llround_097, bid128_llround, 0x303C0000000000000000000000007562u128, 301 , 0x00); // -- 300.5 dec_test!(bid128_llround_098, bid128_llround, 0x303C00000000000000000031FFFFFF6Au128, 2147483647 , 0x00); // -- 2^31-1.5 dec_test!(bid128_llround_099, bid128_llround, 0x303C00000000000000000031FFFFFFCEu128, 2147483648 , 0x00); // -- 2^31-0.5 dec_test!(bid128_llround_100, bid128_llround, 0x303C0000000000000000003200000032u128, 2147483649 , 0x00); // -- 2^31+0.5 dec_test!(bid128_llround_101, bid128_llround, 0x303C00000000000000000063FFFFFFCEu128, 4294967296 , 0x00); // -- 2^32-0.5 dec_test!(bid128_llround_102, bid128_llround, 0x303C0000000000000000006400000032u128, 4294967297 , 0x00); // -- 2^32+0.5 dec_test!(bid128_llround_103, bid128_llround, 0x303C000000000031FFFFFFFFFFFFFF6Au128, 9223372036854775807 , 0x00); // -- 2^63-1.5 dec_test!(bid128_llround_104, bid128_llround, 0x303C000000000031FFFFFFFFFFFFFFCEu128, -9223372036854775808 , 0x01); // -- 2^63-0.5 dec_test!(bid128_llround_105, bid128_llround, 0x303C0000000000320000000000000032u128, -9223372036854775808 , 0x01); // -- 2^63+0.5 dec_test!(bid128_llround_106, bid128_llround, 0x303C000000000063FFFFFFFFFFFFFFCEu128, -9223372036854775808 , 0x01); // -- 2^64-0.5 dec_test!(bid128_llround_107, bid128_llround, 0x303C0000000000640000000000000032u128, -9223372036854775808 , 0x01); // -- 2^64+0.5 dec_test!(bid128_llround_108, bid128_llround, 0x303E0000000000000000000000000005u128, 1 , 0x00); // -- 0.5 dec_test!(bid128_llround_109, bid128_llround, 0x303E000000000000000000000000000Fu128, 2 , 0x00); // -- 1.5 dec_test!(bid128_llround_110, bid128_llround, 0x303E0000000000000000000000000BB8u128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_111, bid128_llround, 0x303E0000000000000000000000000BBDu128, 301 , 0x00); // -- 300.5 dec_test!(bid128_llround_112, bid128_llround, 0x303E00000000000000000004FFFFFFF1u128, 2147483647 , 0x00); // -- 2^31-1.5 dec_test!(bid128_llround_113, bid128_llround, 0x303E00000000000000000004FFFFFFF6u128, 2147483647 , 0x00); // -- 2^31-1 dec_test!(bid128_llround_114, bid128_llround, 0x303E00000000000000000004FFFFFFFBu128, 2147483648 , 0x00); // -- 2^31-0.5 dec_test!(bid128_llround_115, bid128_llround, 0x303E0000000000000000000500000000u128, 2147483648 , 0x00); // -- 2^31 dec_test!(bid128_llround_116, bid128_llround, 0x303E0000000000000000000500000005u128, 2147483649 , 0x00); // -- 2^31+0.5 dec_test!(bid128_llround_117, bid128_llround, 0x303E000000000000000000050000000Au128, 2147483649 , 0x00); // -- 2^31+1 dec_test!(bid128_llround_118, bid128_llround, 0x303E00000000000000000009FFFFFFF6u128, 4294967295 , 0x00); // -- 2^32-1 dec_test!(bid128_llround_119, bid128_llround, 0x303E00000000000000000009FFFFFFFBu128, 4294967296 , 0x00); // -- 2^32-0.5 dec_test!(bid128_llround_120, bid128_llround, 0x303E0000000000000000000A00000000u128, 4294967296 , 0x00); // -- 2^32 dec_test!(bid128_llround_121, bid128_llround, 0x303E0000000000000000000A00000005u128, 4294967297 , 0x00); // -- 2^32+0.5 dec_test!(bid128_llround_122, bid128_llround, 0x303E0000000000000000000A0000000Au128, 4294967297 , 0x00); // -- 2^32+1 dec_test!(bid128_llround_123, bid128_llround, 0x303E0000000000000000002E90EDCFF1u128, 19999999999 , 0x00); // -- 2e10-1.5 dec_test!(bid128_llround_124, bid128_llround, 0x303E0000000000000000002E90EDCFFBu128, 20000000000 , 0x00); // -- 2e10-0.5 dec_test!(bid128_llround_125, bid128_llround, 0x303E0000000000000000002E90EDD005u128, 20000000001 , 0x00); // -- 2e10+0.5 dec_test!(bid128_llround_126, bid128_llround, 0x303E0000000000000000002E90EDD00Fu128, 20000000002 , 0x00); // -- 2e10+1.5 dec_test!(bid128_llround_127, bid128_llround, 0x303E00000000000000470DE4DF81FFF1u128, 1999999999999999 , 0x00); // -- 2e15-1.5 dec_test!(bid128_llround_128, bid128_llround, 0x303E00000000000000470DE4DF81FFFBu128, 2000000000000000 , 0x00); // -- 2e15-0.5 dec_test!(bid128_llround_129, bid128_llround, 0x303E00000000000000470DE4DF820005u128, 2000000000000001 , 0x00); // -- 2e15+0.5 dec_test!(bid128_llround_130, bid128_llround, 0x303E00000000000000470DE4DF82000Fu128, 2000000000000002 , 0x00); // -- 2e15+1.5 dec_test!(bid128_llround_131, bid128_llround, 0x303E000000000004FFFFFFFFFFFFFFF1u128, 9223372036854775807 , 0x00); // -- 2^63-1.5 dec_test!(bid128_llround_132, bid128_llround, 0x303E000000000004FFFFFFFFFFFFFFF6u128, 9223372036854775807 , 0x00); // -- 2^63-1 dec_test!(bid128_llround_133, bid128_llround, 0x303E000000000004FFFFFFFFFFFFFFFBu128, -9223372036854775808 , 0x01); // -- 2^63-0.5 dec_test!(bid128_llround_134, bid128_llround, 0x303E0000000000050000000000000000u128, -9223372036854775808 , 0x01); // -- 2^63 dec_test!(bid128_llround_135, bid128_llround, 0x303E0000000000050000000000000005u128, -9223372036854775808 , 0x01); // -- 2^63+0.5 dec_test!(bid128_llround_136, bid128_llround, 0x303E000000000005000000000000000Au128, -9223372036854775808 , 0x01); // -- 2^63+1 dec_test!(bid128_llround_137, bid128_llround, 0x303E0000000000056BC75E2D63100005u128, -9223372036854775808 , 0x01); // -- 1e19+0.5 dec_test!(bid128_llround_138, bid128_llround, 0x303E000000000009FFFFFFFFFFFFFFF6u128, -9223372036854775808 , 0x01); // -- 2^64-1 dec_test!(bid128_llround_139, bid128_llround, 0x303E000000000009FFFFFFFFFFFFFFFBu128, -9223372036854775808 , 0x01); // -- 2^64-0.5 dec_test!(bid128_llround_140, bid128_llround, 0x303E00000000000A0000000000000000u128, -9223372036854775808 , 0x01); // -- 2^64 dec_test!(bid128_llround_141, bid128_llround, 0x303E00000000000A0000000000000005u128, -9223372036854775808 , 0x01); // -- 2^64+0.5 dec_test!(bid128_llround_142, bid128_llround, 0x303E00000000000A000000000000000Au128, -9223372036854775808 , 0x01); // -- 2^64+1 dec_test!(bid128_llround_143, bid128_llround, 0x30400000000000000000000000000001u128, 1 , 0x00); // -- 1 dec_test!(bid128_llround_144, bid128_llround, 0x3040000000000000000000000000012Cu128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_145, bid128_llround, 0x3040000000000000000000007FFFFFFFu128, 2147483647 , 0x00); // -- 2^31-1 dec_test!(bid128_llround_146, bid128_llround, 0x30400000000000000000000080000000u128, 2147483648 , 0x00); // -- 2^31 dec_test!(bid128_llround_147, bid128_llround, 0x30400000000000000000000080000001u128, 2147483649 , 0x00); // -- 2^31+1 dec_test!(bid128_llround_148, bid128_llround, 0x304000000000000000000000FFFFFFFFu128, 4294967295 , 0x00); // -- 2^32-1 dec_test!(bid128_llround_149, bid128_llround, 0x30400000000000000000000100000000u128, 4294967296 , 0x00); // -- 2^32 dec_test!(bid128_llround_150, bid128_llround, 0x30400000000000000000000100000001u128, 4294967297 , 0x00); // -- 2^32+1 dec_test!(bid128_llround_151, bid128_llround, 0x304000000000000000000004A817C7FFu128, 19999999999 , 0x00); // -- 2e10-1 dec_test!(bid128_llround_152, bid128_llround, 0x304000000000000000000004A817C801u128, 20000000001 , 0x00); // -- 2e10+1 dec_test!(bid128_llround_153, bid128_llround, 0x304000000000000000071AFD498CFFFFu128, 1999999999999999 , 0x00); // -- 2e15-1 dec_test!(bid128_llround_154, bid128_llround, 0x304000000000000000071AFD498D0000u128, 2000000000000000 , 0x00); // -- 2e15 dec_test!(bid128_llround_155, bid128_llround, 0x304000000000000000071AFD498D0001u128, 2000000000000001 , 0x00); // -- 2e15+1 dec_test!(bid128_llround_156, bid128_llround, 0x30400000000000007FFFFFFFFFFFFFFFu128, 9223372036854775807 , 0x00); // -- 2^63-1 dec_test!(bid128_llround_157, bid128_llround, 0x30400000000000008000000000000000u128, -9223372036854775808 , 0x01); // -- 2^63 dec_test!(bid128_llround_158, bid128_llround, 0x30400000000000008000000000000001u128, -9223372036854775808 , 0x01); // -- 2^63+1 dec_test!(bid128_llround_159, bid128_llround, 0x3040000000000000FFFFFFFFFFFFFFFFu128, -9223372036854775808 , 0x01); // -- 2^64-1 dec_test!(bid128_llround_160, bid128_llround, 0x30400000000000010000000000000000u128, -9223372036854775808 , 0x01); // -- 2^64 dec_test!(bid128_llround_161, bid128_llround, 0x30400000000000010000000000000001u128, -9223372036854775808 , 0x01); // -- 2^64+1 dec_test!(bid128_llround_162, bid128_llround, 0x3042000000000000000000000000001Eu128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_163, bid128_llround, 0x30420000000000000000000077359400u128, 20000000000 , 0x00); // -- 2e10 dec_test!(bid128_llround_164, bid128_llround, 0x30440000000000000000000000000003u128, 300 , 0x00); // -- 300 dec_test!(bid128_llround_165, bid128_llround, 0x30520000000000000000000000000004u128, 4000000000 , 0x00); // -- 4e9 dec_test!(bid128_llround_166, bid128_llround, 0x30520000000000000000000000000005u128, 5000000000 , 0x00); // -- 5e9 dec_test!(bid128_llround_167, bid128_llround, 0x30540000000000000000000000000002u128, 20000000000 , 0x00); // -- 2e10 dec_test!(bid128_llround_168, bid128_llround, 0x305E0000000000000000000000000002u128, 2000000000000000 , 0x00); // -- 2e15 dec_test!(bid128_llround_169, bid128_llround, 0x3064000000000000000000000000000Fu128, -9223372036854775808 , 0x01); // -- 1.5e19 dec_test!(bid128_llround_170, bid128_llround, 0x30640000000000000000000000000019u128, -9223372036854775808 , 0x01); // -- 2.5e19 dec_test!(bid128_llround_171, bid128_llround, 0x30660000000000000000000000000001u128, -9223372036854775808 , 0x01); // -- 1e19 dec_test!(bid128_llround_172, bid128_llround, 0x30660000000000000000000000000002u128, -9223372036854775808 , 0x01); // -- 2e19 dec_test!(bid128_llround_173, bid128_llround, 0x30680000000000000000000000000001u128, -9223372036854775808 , 0x01); // -- 1e20 dec_test!(bid128_llround_174, bid128_llround, 0xAFFCF684DF56C3E01BC6C73200000000u128, -1 , 0x00); // -- -(0.5) dec_test!(bid128_llround_175, bid128_llround, 0xAFFDEC8B86EF679D76FC433D80000000u128, -1 , 0x00); // -- -(0.999) dec_test!(bid128_llround_176, bid128_llround, 0xAFFE314DC6448D9338C15B0A00000000u128, -1 , 0x00); // -- -(1) dec_test!(bid128_llround_177, bid128_llround, 0xAFFE49F4A966D45CD522088F00000000u128, -2 , 0x00); // -- -(1.5) dec_test!(bid128_llround_178, bid128_llround, 0xB00293E952CDA8B9AA44111E00000000u128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_179, bid128_llround, 0xB00294286EACB8CB0A8CB6B140000000u128, -301 , 0x00); // -- -(300.5) dec_test!(bid128_llround_180, bid128_llround, 0xB0040ECA8847C4129106CE8300000000u128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_181, bid128_llround, 0xB00A0003C95A2F0B4856475FE0000000u128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_182, bid128_llround, 0xB00C000060EF6B1ABA6F072330000000u128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_183, bid128_llround, 0xB01069E10DE628D3A6C9CC9B8E800000u128, -2147483647 , 0x00); // -- -(2^31-1.5) dec_test!(bid128_llround_184, bid128_llround, 0xB01069E10DE692B4B4B133125F000000u128, -2147483647 , 0x00); // -- -(2^31-1) dec_test!(bid128_llround_185, bid128_llround, 0xB01069E10DE6FC95C29899892F800000u128, -2147483648 , 0x00); // -- -(2^31-0.5) dec_test!(bid128_llround_186, bid128_llround, 0xB01069E10DE76676D080000000000000u128, -2147483648 , 0x00); // -- -(2^31) dec_test!(bid128_llround_187, bid128_llround, 0xB01069E10DE7D057DE676676D0800000u128, -2147483649 , 0x00); // -- -(2^31+0.5) dec_test!(bid128_llround_188, bid128_llround, 0xB01069E10DE83A38EC4ECCEDA1000000u128, -2147483649 , 0x00); // -- -(2^31+1) dec_test!(bid128_llround_189, bid128_llround, 0xB010C5371912364CE3056C2800000000u128, -4000000000 , 0x00); // -- -(4e9) dec_test!(bid128_llround_190, bid128_llround, 0xB010D3C21BCDF92B853133125F000000u128, -4294967295 , 0x00); // -- -(2^32-1) dec_test!(bid128_llround_191, bid128_llround, 0xB010D3C21BCE630C931899892F800000u128, -4294967296 , 0x00); // -- -(2^32-0.5) dec_test!(bid128_llround_192, bid128_llround, 0xB010D3C21BCECCEDA100000000000000u128, -4294967296 , 0x00); // -- -(2^32) dec_test!(bid128_llround_193, bid128_llround, 0xB010D3C21BCF36CEAEE76676D0800000u128, -4294967297 , 0x00); // -- -(2^32+0.5) dec_test!(bid128_llround_194, bid128_llround, 0xB010D3C21BCFA0AFBCCECCEDA1000000u128, -4294967297 , 0x00); // -- -(2^32+1) dec_test!(bid128_llround_195, bid128_llround, 0xB010F684DF56C3E01BC6C73200000000u128, -5000000000 , 0x00); // -- -(5e9) dec_test!(bid128_llround_196, bid128_llround, 0xB012629B8C88FB62ED56E4238E400000u128, -19999999999 , 0x00); // -- -(2e10-1.5) dec_test!(bid128_llround_197, bid128_llround, 0xB012629B8C8905F96EBAD4C909800000u128, -19999999999 , 0x00); // -- -(2e10-1) dec_test!(bid128_llround_198, bid128_llround, 0xB012629B8C89108FF01EC56E84C00000u128, -20000000000 , 0x00); // -- -(2e10-0.5) dec_test!(bid128_llround_199, bid128_llround, 0xB012629B8C891B267182B61400000000u128, -20000000000 , 0x00); // -- -(2e10) dec_test!(bid128_llround_200, bid128_llround, 0xB012629B8C8925BCF2E6A6B97B400000u128, -20000000001 , 0x00); // -- -(2e10+0.5) dec_test!(bid128_llround_201, bid128_llround, 0xB012629B8C893053744A975EF6800000u128, -20000000001 , 0x00); // -- -(2e10+1) dec_test!(bid128_llround_202, bid128_llround, 0xB012629B8C893AE9F5AE880471C00000u128, -20000000002 , 0x00); // -- -(2e10+1.5) dec_test!(bid128_llround_203, bid128_llround, 0xB01600000000003627E8F712373C0000u128, -1 , 0x00); // -- -(0.999) dec_test!(bid128_llround_204, bid128_llround, 0xB0180002B5E3AF0E8FDCF2BBEB680000u128, -2147483647 , 0x00); // -- -(2^31-1.5) dec_test!(bid128_llround_205, bid128_llround, 0xB0180002B5E3AF13FBA450E94E780000u128, -2147483648 , 0x00); // -- -(2^31-0.5) dec_test!(bid128_llround_206, bid128_llround, 0xB0180002B5E3AF19676BAF16B1880000u128, -2147483649 , 0x00); // -- -(2^31+0.5) dec_test!(bid128_llround_207, bid128_llround, 0xB01800056BC75E2AAD2C50E94E780000u128, -4294967296 , 0x00); // -- -(2^32-0.5) dec_test!(bid128_llround_208, bid128_llround, 0xB01800056BC75E3018F3AF16B1880000u128, -4294967297 , 0x00); // -- -(2^32+0.5) dec_test!(bid128_llround_209, bid128_llround, 0xB01A0000000000004563918244F40000u128, -1 , 0x00); // -- -(0.5) dec_test!(bid128_llround_210, bid128_llround, 0xB01A0000000000008AC7230489E80000u128, -1 , 0x00); // -- -(1) dec_test!(bid128_llround_211, bid128_llround, 0xB01A0000000000A2E6C09AD3E0D40000u128, -301 , 0x00); // -- -(300.5) dec_test!(bid128_llround_212, bid128_llround, 0xB01A000045639181BA2CDCFB76180000u128, -2147483647 , 0x00); // -- -(2^31-1) dec_test!(bid128_llround_213, bid128_llround, 0xB01A00004563918244F4000000000000u128, -2147483648 , 0x00); // -- -(2^31) dec_test!(bid128_llround_214, bid128_llround, 0xB01A000045639182CFBB230489E80000u128, -2147483649 , 0x00); // -- -(2^31+1) dec_test!(bid128_llround_215, bid128_llround, 0xB01A00008AC72303FF20DCFB76180000u128, -4294967295 , 0x00); // -- -(2^32-1) dec_test!(bid128_llround_216, bid128_llround, 0xB01A00008AC7230489E8000000000000u128, -4294967296 , 0x00); // -- -(2^32) dec_test!(bid128_llround_217, bid128_llround, 0xB01A00008AC7230514AF230489E80000u128, -4294967297 , 0x00); // -- -(2^32+1) dec_test!(bid128_llround_218, bid128_llround, 0xB01C00000000000014D1120D7B160000u128, -2 , 0x00); // -- -(1.5) dec_test!(bid128_llround_219, bid128_llround, 0xB01C629B8C891B265CB1A40684EA0000u128, -1999999999999999 , 0x00); // -- -(2e15-1.5) dec_test!(bid128_llround_220, bid128_llround, 0xB01C629B8C891B2663A1FF60589C0000u128, -1999999999999999 , 0x00); // -- -(2e15-1) dec_test!(bid128_llround_221, bid128_llround, 0xB01C629B8C891B266A925ABA2C4E0000u128, -2000000000000000 , 0x00); // -- -(2e15-0.5) dec_test!(bid128_llround_222, bid128_llround, 0xB01C629B8C891B267182B61400000000u128, -2000000000000000 , 0x00); // -- -(2e15) dec_test!(bid128_llround_223, bid128_llround, 0xB01C629B8C891B267873116DD3B20000u128, -2000000000000001 , 0x00); // -- -(2e15+0.5) dec_test!(bid128_llround_224, bid128_llround, 0xB01C629B8C891B267F636CC7A7640000u128, -2000000000000001 , 0x00); // -- -(2e15+1) dec_test!(bid128_llround_225, bid128_llround, 0xB01C629B8C891B268653C8217B160000u128, -2000000000000002 , 0x00); // -- -(2e15+1.5) dec_test!(bid128_llround_226, bid128_llround, 0xB01E000000000001A055690D9DB80000u128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_227, bid128_llround, 0xB02000000000000029A2241AF62C0000u128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_228, bid128_llround, 0xB02000FC6F7C4045813459C637E08000u128, -2000000000000001 , 0x00); // -- -(2e15+0.5) dec_test!(bid128_llround_229, bid128_llround, 0xB02000FC6F7C40458157E0B8A7A18000u128, -2000000000000002 , 0x00); // -- -(2e15+1.5) dec_test!(bid128_llround_230, bid128_llround, 0xB02200193E5939A08CE4879688D64000u128, -1999999999999999 , 0x00); // -- -(2e15-1.5) dec_test!(bid128_llround_231, bid128_llround, 0xB02200193E5939A08CE815152D9CC000u128, -2000000000000000 , 0x00); // -- -(2e15-0.5) dec_test!(bid128_llround_232, bid128_llround, 0xB023C6BF52633FFFFFFAABC208D64000u128, -9223372036854775807 , 0x00); // -- -(2^63-1.5) dec_test!(bid128_llround_233, bid128_llround, 0xB023C6BF52633FFFFFFC72815B398000u128, -9223372036854775807 , 0x00); // -- -(2^63-1) dec_test!(bid128_llround_234, bid128_llround, 0xB023C6BF52633FFFFFFE3940AD9CC000u128, -9223372036854775808 , 0x00); // -- -(2^63-0.5) dec_test!(bid128_llround_235, bid128_llround, 0xB023C6BF526340000000000000000000u128, -9223372036854775808 , 0x00); // -- -(2^63) dec_test!(bid128_llround_236, bid128_llround, 0xB023C6BF526340000001C6BF52634000u128, -9223372036854775808 , 0x01); // -- -(2^63+0.5) dec_test!(bid128_llround_237, bid128_llround, 0xB023C6BF5263400000038D7EA4C68000u128, -9223372036854775808 , 0x01); // -- -(2^63+1) dec_test!(bid128_llround_238, bid128_llround, 0xB024000000000000006A94D74F430000u128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_239, bid128_llround, 0xB024314DC6448D9338C15B0A00000000u128, -9223372036854775808 , 0x01); // -- -(1e19) dec_test!(bid128_llround_240, bid128_llround, 0xB024314DC6448D9338C18883883D2000u128, -9223372036854775808 , 0x01); // -- -(1e19+0.5) dec_test!(bid128_llround_241, bid128_llround, 0xB02449F4A966D45CD522088F00000000u128, -9223372036854775808 , 0x01); // -- -(1.5e19) dec_test!(bid128_llround_242, bid128_llround, 0xB0245AF3107A3FFFFFFFA50CEF85C000u128, -9223372036854775808 , 0x01); // -- -(2^64-1) dec_test!(bid128_llround_243, bid128_llround, 0xB0245AF3107A3FFFFFFFD28677C2E000u128, -9223372036854775808 , 0x01); // -- -(2^64-0.5) dec_test!(bid128_llround_244, bid128_llround, 0xB0245AF3107A40000000000000000000u128, -9223372036854775808 , 0x01); // -- -(2^64) dec_test!(bid128_llround_245, bid128_llround, 0xB0245AF3107A400000002D79883D2000u128, -9223372036854775808 , 0x01); // -- -(2^64+0.5) dec_test!(bid128_llround_246, bid128_llround, 0xB0245AF3107A400000005AF3107A4000u128, -9223372036854775808 , 0x01); // -- -(2^64+1) dec_test!(bid128_llround_247, bid128_llround, 0xB024629B8C891B267182B61400000000u128, -9223372036854775808 , 0x01); // -- -(2e19) dec_test!(bid128_llround_248, bid128_llround, 0xB0247B426FAB61F00DE3639900000000u128, -9223372036854775808 , 0x01); // -- -(2.5e19) dec_test!(bid128_llround_249, bid128_llround, 0xB026314DC6448D9338C15B0A00000000u128, -9223372036854775808 , 0x01); // -- -(1e20) dec_test!(bid128_llround_250, bid128_llround, 0xB02A0000000000000000001742810700u128, -1 , 0x00); // -- -(0.999) dec_test!(bid128_llround_251, bid128_llround, 0xB02A00000000006C6B935B68D08DA400u128, -19999999999 , 0x00); // -- -(2e10-1.5) dec_test!(bid128_llround_252, bid128_llround, 0xB02A00000000006C6B935B8019048C00u128, -20000000000 , 0x00); // -- -(2e10-0.5) dec_test!(bid128_llround_253, bid128_llround, 0xB02C000000000000000002BBA7F52200u128, -301 , 0x00); // -- -(300.5) dec_test!(bid128_llround_254, bid128_llround, 0xB02C00000000000AD78EBC5872141C00u128, -19999999999 , 0x00); // -- -(2e10-1) dec_test!(bid128_llround_255, bid128_llround, 0xB02C00000000000AD78EBC5BF025F200u128, -20000000001 , 0x00); // -- -(2e10+0.5) dec_test!(bid128_llround_256, bid128_llround, 0xB02C00000000000AD78EBC5E4431D600u128, -20000000002 , 0x00); // -- -(2e10+1.5) dec_test!(bid128_llround_257, bid128_llround, 0xB02C000000108B2A2C28028E3FF41C00u128, -1999999999999999 , 0x00); // -- -(2e15-1) dec_test!(bid128_llround_258, bid128_llround, 0xB02E000000000000000000001DCD6500u128, -1 , 0x00); // -- -(0.5) dec_test!(bid128_llround_259, bid128_llround, 0xB02E000000000000000000003B9ACA00u128, -1 , 0x00); // -- -(1) dec_test!(bid128_llround_260, bid128_llround, 0xB02E0000000000000000000059682F00u128, -2 , 0x00); // -- -(1.5) dec_test!(bid128_llround_261, bid128_llround, 0xB02E000000000001158E46094F6ACA00u128, -20000000001 , 0x00); // -- -(2e10+1) dec_test!(bid128_llround_262, bid128_llround, 0xB02E00000001A784379D99DB7D9ACA00u128, -2000000000000001 , 0x00); // -- -(2e15+1) dec_test!(bid128_llround_263, bid128_llround, 0xB03000000000000000000006FC23AC00u128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_264, bid128_llround, 0xB03200000000000000000000B2D05E00u128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_265, bid128_llround, 0xB03800000000000000000000002DDA48u128, -301 , 0x00); // -- -(300.5) dec_test!(bid128_llround_266, bid128_llround, 0xB03A00000000000000000000000003E7u128, -1 , 0x00); // -- -(0.999) dec_test!(bid128_llround_267, bid128_llround, 0xB03A00000000000000000000000005DCu128, -2 , 0x00); // -- -(1.5) dec_test!(bid128_llround_268, bid128_llround, 0xB03A00000000000000000000000495D4u128, -301 , 0x00); // -- -(300.5) dec_test!(bid128_llround_269, bid128_llround, 0xB03C0000000000000000000000000096u128, -2 , 0x00); // -- -(1.5) dec_test!(bid128_llround_270, bid128_llround, 0xB03C0000000000000000000000007562u128, -301 , 0x00); // -- -(300.5) dec_test!(bid128_llround_271, bid128_llround, 0xB03C00000000000000000031FFFFFF6Au128, -2147483647 , 0x00); // -- -(2^31-1.5) dec_test!(bid128_llround_272, bid128_llround, 0xB03C00000000000000000031FFFFFFCEu128, -2147483648 , 0x00); // -- -(2^31-0.5) dec_test!(bid128_llround_273, bid128_llround, 0xB03C0000000000000000003200000032u128, -2147483649 , 0x00); // -- -(2^31+0.5) dec_test!(bid128_llround_274, bid128_llround, 0xB03C00000000000000000063FFFFFFCEu128, -4294967296 , 0x00); // -- -(2^32-0.5) dec_test!(bid128_llround_275, bid128_llround, 0xB03C0000000000000000006400000032u128, -4294967297 , 0x00); // -- -(2^32+0.5) dec_test!(bid128_llround_276, bid128_llround, 0xB03C000000000031FFFFFFFFFFFFFF6Au128, -9223372036854775807 , 0x00); // -- -(2^63-1.5) dec_test!(bid128_llround_277, bid128_llround, 0xB03C000000000031FFFFFFFFFFFFFFCEu128, -9223372036854775808 , 0x00); // -- -(2^63-0.5) dec_test!(bid128_llround_278, bid128_llround, 0xB03C0000000000320000000000000032u128, -9223372036854775808 , 0x01); // -- -(2^63+0.5) dec_test!(bid128_llround_279, bid128_llround, 0xB03C000000000063FFFFFFFFFFFFFFCEu128, -9223372036854775808 , 0x01); // -- -(2^64-0.5) dec_test!(bid128_llround_280, bid128_llround, 0xB03C0000000000640000000000000032u128, -9223372036854775808 , 0x01); // -- -(2^64+0.5) dec_test!(bid128_llround_281, bid128_llround, 0xB03E0000000000000000000000000005u128, -1 , 0x00); // -- -(0.5) dec_test!(bid128_llround_282, bid128_llround, 0xB03E000000000000000000000000000Fu128, -2 , 0x00); // -- -(1.5) dec_test!(bid128_llround_283, bid128_llround, 0xB03E0000000000000000000000000BB8u128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_284, bid128_llround, 0xB03E0000000000000000000000000BBDu128, -301 , 0x00); // -- -(300.5) dec_test!(bid128_llround_285, bid128_llround, 0xB03E00000000000000000004FFFFFFF1u128, -2147483647 , 0x00); // -- -(2^31-1.5) dec_test!(bid128_llround_286, bid128_llround, 0xB03E00000000000000000004FFFFFFF6u128, -2147483647 , 0x00); // -- -(2^31-1) dec_test!(bid128_llround_287, bid128_llround, 0xB03E00000000000000000004FFFFFFFBu128, -2147483648 , 0x00); // -- -(2^31-0.5) dec_test!(bid128_llround_288, bid128_llround, 0xB03E0000000000000000000500000000u128, -2147483648 , 0x00); // -- -(2^31) dec_test!(bid128_llround_289, bid128_llround, 0xB03E0000000000000000000500000005u128, -2147483649 , 0x00); // -- -(2^31+0.5) dec_test!(bid128_llround_290, bid128_llround, 0xB03E000000000000000000050000000Au128, -2147483649 , 0x00); // -- -(2^31+1) dec_test!(bid128_llround_291, bid128_llround, 0xB03E00000000000000000009FFFFFFF6u128, -4294967295 , 0x00); // -- -(2^32-1) dec_test!(bid128_llround_292, bid128_llround, 0xB03E00000000000000000009FFFFFFFBu128, -4294967296 , 0x00); // -- -(2^32-0.5) dec_test!(bid128_llround_293, bid128_llround, 0xB03E0000000000000000000A00000000u128, -4294967296 , 0x00); // -- -(2^32) dec_test!(bid128_llround_294, bid128_llround, 0xB03E0000000000000000000A00000005u128, -4294967297 , 0x00); // -- -(2^32+0.5) dec_test!(bid128_llround_295, bid128_llround, 0xB03E0000000000000000000A0000000Au128, -4294967297 , 0x00); // -- -(2^32+1) dec_test!(bid128_llround_296, bid128_llround, 0xB03E0000000000000000002E90EDCFF1u128, -19999999999 , 0x00); // -- -(2e10-1.5) dec_test!(bid128_llround_297, bid128_llround, 0xB03E0000000000000000002E90EDCFFBu128, -20000000000 , 0x00); // -- -(2e10-0.5) dec_test!(bid128_llround_298, bid128_llround, 0xB03E0000000000000000002E90EDD005u128, -20000000001 , 0x00); // -- -(2e10+0.5) dec_test!(bid128_llround_299, bid128_llround, 0xB03E0000000000000000002E90EDD00Fu128, -20000000002 , 0x00); // -- -(2e10+1.5) dec_test!(bid128_llround_300, bid128_llround, 0xB03E00000000000000470DE4DF81FFF1u128, -1999999999999999 , 0x00); // -- -(2e15-1.5) dec_test!(bid128_llround_301, bid128_llround, 0xB03E00000000000000470DE4DF81FFFBu128, -2000000000000000 , 0x00); // -- -(2e15-0.5) dec_test!(bid128_llround_302, bid128_llround, 0xB03E00000000000000470DE4DF820005u128, -2000000000000001 , 0x00); // -- -(2e15+0.5) dec_test!(bid128_llround_303, bid128_llround, 0xB03E00000000000000470DE4DF82000Fu128, -2000000000000002 , 0x00); // -- -(2e15+1.5) dec_test!(bid128_llround_304, bid128_llround, 0xB03E000000000004FFFFFFFFFFFFFFF1u128, -9223372036854775807 , 0x00); // -- -(2^63-1.5) dec_test!(bid128_llround_305, bid128_llround, 0xB03E000000000004FFFFFFFFFFFFFFF6u128, -9223372036854775807 , 0x00); // -- -(2^63-1) dec_test!(bid128_llround_306, bid128_llround, 0xB03E000000000004FFFFFFFFFFFFFFFBu128, -9223372036854775808 , 0x00); // -- -(2^63-0.5) dec_test!(bid128_llround_307, bid128_llround, 0xB03E0000000000050000000000000000u128, -9223372036854775808 , 0x00); // -- -(2^63) dec_test!(bid128_llround_308, bid128_llround, 0xB03E0000000000050000000000000005u128, -9223372036854775808 , 0x01); // -- -(2^63+0.5) dec_test!(bid128_llround_309, bid128_llround, 0xB03E000000000005000000000000000Au128, -9223372036854775808 , 0x01); // -- -(2^63+1) dec_test!(bid128_llround_310, bid128_llround, 0xB03E0000000000056BC75E2D63100005u128, -9223372036854775808 , 0x01); // -- -(1e19+0.5) dec_test!(bid128_llround_311, bid128_llround, 0xB03E000000000009FFFFFFFFFFFFFFF6u128, -9223372036854775808 , 0x01); // -- -(2^64-1) dec_test!(bid128_llround_312, bid128_llround, 0xB03E000000000009FFFFFFFFFFFFFFFBu128, -9223372036854775808 , 0x01); // -- -(2^64-0.5) dec_test!(bid128_llround_313, bid128_llround, 0xB03E00000000000A0000000000000000u128, -9223372036854775808 , 0x01); // -- -(2^64) dec_test!(bid128_llround_314, bid128_llround, 0xB03E00000000000A0000000000000005u128, -9223372036854775808 , 0x01); // -- -(2^64+0.5) dec_test!(bid128_llround_315, bid128_llround, 0xB03E00000000000A000000000000000Au128, -9223372036854775808 , 0x01); // -- -(2^64+1) dec_test!(bid128_llround_316, bid128_llround, 0xB0400000000000000000000000000001u128, -1 , 0x00); // -- -(1) dec_test!(bid128_llround_317, bid128_llround, 0xB040000000000000000000000000012Cu128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_318, bid128_llround, 0xB040000000000000000000007FFFFFFFu128, -2147483647 , 0x00); // -- -(2^31-1) dec_test!(bid128_llround_319, bid128_llround, 0xB0400000000000000000000080000000u128, -2147483648 , 0x00); // -- -(2^31) dec_test!(bid128_llround_320, bid128_llround, 0xB0400000000000000000000080000001u128, -2147483649 , 0x00); // -- -(2^31+1) dec_test!(bid128_llround_321, bid128_llround, 0xB04000000000000000000000FFFFFFFFu128, -4294967295 , 0x00); // -- -(2^32-1) dec_test!(bid128_llround_322, bid128_llround, 0xB0400000000000000000000100000000u128, -4294967296 , 0x00); // -- -(2^32) dec_test!(bid128_llround_323, bid128_llround, 0xB0400000000000000000000100000001u128, -4294967297 , 0x00); // -- -(2^32+1) dec_test!(bid128_llround_324, bid128_llround, 0xB04000000000000000000004A817C7FFu128, -19999999999 , 0x00); // -- -(2e10-1) dec_test!(bid128_llround_325, bid128_llround, 0xB04000000000000000000004A817C801u128, -20000000001 , 0x00); // -- -(2e10+1) dec_test!(bid128_llround_326, bid128_llround, 0xB04000000000000000071AFD498CFFFFu128, -1999999999999999 , 0x00); // -- -(2e15-1) dec_test!(bid128_llround_327, bid128_llround, 0xB04000000000000000071AFD498D0000u128, -2000000000000000 , 0x00); // -- -(2e15) dec_test!(bid128_llround_328, bid128_llround, 0xB04000000000000000071AFD498D0001u128, -2000000000000001 , 0x00); // -- -(2e15+1) dec_test!(bid128_llround_329, bid128_llround, 0xB0400000000000007FFFFFFFFFFFFFFFu128, -9223372036854775807 , 0x00); // -- -(2^63-1) dec_test!(bid128_llround_330, bid128_llround, 0xB0400000000000008000000000000000u128, -9223372036854775808 , 0x00); // -- -(2^63) dec_test!(bid128_llround_331, bid128_llround, 0xB0400000000000008000000000000001u128, -9223372036854775808 , 0x01); // -- -(2^63+1) dec_test!(bid128_llround_332, bid128_llround, 0xB040000000000000FFFFFFFFFFFFFFFFu128, -9223372036854775808 , 0x01); // -- -(2^64-1) dec_test!(bid128_llround_333, bid128_llround, 0xB0400000000000010000000000000000u128, -9223372036854775808 , 0x01); // -- -(2^64) dec_test!(bid128_llround_334, bid128_llround, 0xB0400000000000010000000000000001u128, -9223372036854775808 , 0x01); // -- -(2^64+1) dec_test!(bid128_llround_335, bid128_llround, 0xB042000000000000000000000000001Eu128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_336, bid128_llround, 0xB0420000000000000000000077359400u128, -20000000000 , 0x00); // -- -(2e10) dec_test!(bid128_llround_337, bid128_llround, 0xB0440000000000000000000000000003u128, -300 , 0x00); // -- -(300) dec_test!(bid128_llround_338, bid128_llround, 0xB0520000000000000000000000000004u128, -4000000000 , 0x00); // -- -(4e9) dec_test!(bid128_llround_339, bid128_llround, 0xB0520000000000000000000000000005u128, -5000000000 , 0x00); // -- -(5e9) dec_test!(bid128_llround_340, bid128_llround, 0xB0540000000000000000000000000002u128, -20000000000 , 0x00); // -- -(2e10) dec_test!(bid128_llround_341, bid128_llround, 0xB05E0000000000000000000000000002u128, -2000000000000000 , 0x00); // -- -(2e15) dec_test!(bid128_llround_342, bid128_llround, 0xB064000000000000000000000000000Fu128, -9223372036854775808 , 0x01); // -- -(1.5e19) dec_test!(bid128_llround_343, bid128_llround, 0xB0640000000000000000000000000019u128, -9223372036854775808 , 0x01); // -- -(2.5e19) dec_test!(bid128_llround_344, bid128_llround, 0xB0660000000000000000000000000001u128, -9223372036854775808 , 0x01); // -- -(1e19) dec_test!(bid128_llround_345, bid128_llround, 0xB0660000000000000000000000000002u128, -9223372036854775808 , 0x01); // -- -(2e19) dec_test!(bid128_llround_346, bid128_llround, 0xB0680000000000000000000000000001u128, -9223372036854775808 , 0x01); // -- -(1e20)