1 /* Test for correct rounding of conversions from __int128 to
4 /* { dg-require-effective-target int128 } */
5 /* { dg-require-effective-target fenv } */
6 /* { dg-options "-frounding-math" } */
15 volatile unsigned long long h
= 0x8000000000000000LL
;
16 volatile unsigned long long l
= 0xdLL
;
17 volatile unsigned __int128 u128
= (((unsigned __int128
) h
) << 64) | l
;
18 volatile __int128 s128
= u128
;
19 fesetround (FE_DOWNWARD
);