Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/literals.cfa

    re782290 red9949b  
    1010// Created On       : Sat Sep  9 16:34:38 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Feb 12 08:07:39 2019
    13 // Update Count     : 224
     12// Last Modified On : Sat Aug 29 10:57:56 2020
     13// Update Count     : 226
    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 )
    153154#if defined(__GNUC__) && __GNUC_PREREQ(7,0)                             // gcc version >= 7
    154155// floating with length, gcc f16/f128x unsupported and no prelude code for any _FloatXXx, so they work by conversion to long double
     
    194195        /* -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; */
    195196#endif // __GNUC_PREREQ(7,0)
     197#endif // __i386 ) || __x86_64
    196198
    197199#ifdef __CFA__
     
    214216        -01234567_l8;  -01234567_l16;  -01234567_l32;  -01234567_l64;  -01234567_l8u;  -01234567_ul16;  -01234567_l32u;  -01234567_ul64;
    215217
    216 #ifdef __LP64__ // 64-bit processor
     218#if defined( __SIZEOF_INT128__ )
    217219        01234567_l128;   01234567_ul128;
    218220        +01234567_l128;  +01234567_ul128;
    219221        -01234567_l128;  -01234567_ul128;
    220 #endif // __LP64__
     222#endif // __SIZEOF_INT128__
    221223
    222224        // decimal
     
    225227        -1234567890L8;  -1234567890L16;  -1234567890l32;  -1234567890l64;  -1234567890UL8;  -1234567890L16U;  -1234567890Ul32;  -1234567890l64u;
    226228
    227 #ifdef __LP64__ // 64-bit processor
     229#if defined( __SIZEOF_INT128__ )
    228230        1234567890l128;   1234567890l128u;
    229231        +1234567890l128;  +1234567890l128u;
    230232        -1234567890l128;  -1234567890l128u;
    231 #endif // __LP64__
     233    1234567890123456789_L128u; 1234567890123456789_L128u;
     234        18446708753438544741_l64u; 18446708753438544741_Ul64;
     235#endif // __SIZEOF_INT128__
    232236
    233237        // hexadecimal
Note: See TracChangeset for help on using the changeset viewer.