Suffix for numeric constants for mdk arm keil

Discussion in 'Embedded Systems and Microcontrollers' started by aamirali, Feb 5, 2014.

  1. aamirali

    Thread Starter Member

    Feb 2, 2012
    415
    1
    What should be suffix for numeric constants of different types in mdk arm.
    Basic data type are given below link:

    http://www.keil.com/support/man/docs/armccref/armccref_Babfcgfc.htm


    1. unsigned: char,short,int : 'U'
    signed: char,short,int : ?

    2. unsigned: long : 'UL'
    signed: long : 'L' or ?

    3. unsigned: long long: 'ULL' or ?
    signed: long long: 'LL' or ?

    4. float : 'F'

    5. double: ?

    6.Long double: ?
     
Loading...