Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/literals.cfa

    red9949b re782290  
    1010// Created On       : Sat Sep  9 16:34:38 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Aug 29 10:57:56 2020
    13 // Update Count     : 226
     12// Last Modified On : Tue Feb 12 08:07:39 2019
     13// Update Count     : 224
    1414//
    1515
     
    151151        -0X0123456789.0123456789P-09;  -0X0123456789.0123456789P-09f;  -0X0123456789.0123456789P-09l;  -0X0123456789.0123456789P-09F;  -0X0123456789.0123456789P-09L;
    152152
    153 #if defined( __i386 ) || defined( __x86_64 )
    154153#if defined(__GNUC__) && __GNUC_PREREQ(7,0)                             // gcc version >= 7
    155154// floating with length, gcc f16/f128x unsupported and no prelude code for any _FloatXXx, so they work by conversion to long double
     
    195194        /* -0x123456789.0123456789P-09F16; */  -0x123456789.0123456789P-09F32;  -0x123456789.0123456789P-09F32x;  -0x123456789.0123456789P-09F64;  -0x123456789.0123456789P-09F64x;  -0x123456789.0123456789P-09W;  -0x123456789.0123456789P-09F128;  -0x123456789.0123456789P-09q;  /* -0x123456789.0123456789P-09q; */
    196195#endif // __GNUC_PREREQ(7,0)
    197 #endif // __i386 ) || __x86_64
    198196
    199197#ifdef __CFA__
     
    216214        -01234567_l8;  -01234567_l16;  -01234567_l32;  -01234567_l64;  -01234567_l8u;  -01234567_ul16;  -01234567_l32u;  -01234567_ul64;
    217215
    218 #if defined( __SIZEOF_INT128__ )
     216#ifdef __LP64__ // 64-bit processor
    219217        01234567_l128;   01234567_ul128;
    220218        +01234567_l128;  +01234567_ul128;
    221219        -01234567_l128;  -01234567_ul128;
    222 #endif // __SIZEOF_INT128__
     220#endif // __LP64__
    223221
    224222        // decimal
     
    227225        -1234567890L8;  -1234567890L16;  -1234567890l32;  -1234567890l64;  -1234567890UL8;  -1234567890L16U;  -1234567890Ul32;  -1234567890l64u;
    228226
    229 #if defined( __SIZEOF_INT128__ )
     227#ifdef __LP64__ // 64-bit processor
    230228        1234567890l128;   1234567890l128u;
    231229        +1234567890l128;  +1234567890l128u;
    232230        -1234567890l128;  -1234567890l128u;
    233     1234567890123456789_L128u; 1234567890123456789_L128u;
    234         18446708753438544741_l64u; 18446708753438544741_Ul64;
    235 #endif // __SIZEOF_INT128__
     231#endif // __LP64__
    236232
    237233        // hexadecimal
Note: See TracChangeset for help on using the changeset viewer.