1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
long double ll_to_ld (long long n) { return n; } long long ld_to_ll (long double n) { return n; } main () { long long n; if (ll_to_ld (10LL) != 10.0) abort (); if (ld_to_ll (10.0) != 10) abort (); exit (0); }