Loading ...
Sorry, an error occurred while loading the content.
 

Re: [edit+] number patterns...

Expand Messages
  • Aleem Juma
    They are number precision indicators: D = double F = float L = long U = unsigned UL = unsigned long E indicates scientific notation eg 4.49e4 = 44900 hence
    Message 1 of 3 , Jan 21, 2007
      They are number precision indicators:

      D = double
      F = float
      L = long
      U = unsigned
      UL = unsigned long

      E indicates scientific notation eg 4.49e4 = 44900

      hence 1EUL might be interpreted as an unsigned long ov value 1e0 ( =1 )



      On 21/01/07, Mark Kahn <cwolves@...> wrote:
      > does anyone know why these are classified as numbers in editplus (with
      > #number_pattern=cpp)
      >
      > 1D, 1E, 1F, 1L, 1U, 1EUL
      >
      > whereas these aren't?
      >
      > 1A, 1B, 1C, etc..., 1ELUL, 1DE
      >
      > D, E, F, L and U seem to be the only letters that are valid "numbers", but
      > only in particular orders....???
      >
      > -Mark
      >
      >
      > [Non-text portions of this message have been removed]
      >
      >
      >
      > http://www.editplus.com
      > Yahoo! Groups Links
      >
      >
      >
      >
    • DZ-Jay
      Hello: Also, the reason the hex numbers you mentioned didn t qualify is because they don t follow the numeric constant standards of C++: Hex numbers must
      Message 2 of 3 , Jan 22, 2007
        Hello:
        Also, the reason the hex numbers you mentioned didn't qualify is
        because they don't follow the numeric constant standards of C++: Hex
        numbers must begin with 0x and octal with 0. For more information, see
        this page:

        http://www.cplusplus.com/doc/tutorial/constants.html

        dZ.


        On Jan 21, 2007, at 19:09, Aleem Juma wrote:

        > They are number precision indicators:
        >
        > D = double
        > F = float
        > L = long
        > U = unsigned
        > UL = unsigned long
        >
        > E indicates scientific notation eg 4.49e4 = 44900
        >
        > hence 1EUL might be interpreted as an unsigned long ov value 1e0 ( =1 )
        >
        >
        >
        > On 21/01/07, Mark Kahn <cwolves@...> wrote:
        >> does anyone know why these are classified as numbers in editplus (with
        >> #number_pattern=cpp)
        >>
        >> 1D, 1E, 1F, 1L, 1U, 1EUL
        >>
        >> whereas these aren't?
        >>
        >> 1A, 1B, 1C, etc..., 1ELUL, 1DE
        >>
        >> D, E, F, L and U seem to be the only letters that are valid
        >> "numbers", but
        >> only in particular orders....???
        >>
        >> -Mark
        >>
        >>
        >> [Non-text portions of this message have been removed]
        >>
        >>
        >>
        >> http://www.editplus.com
        >> Yahoo! Groups Links
        >>
        >>
        >>
        >>
        >
        >
        > http://www.editplus.com
        > Yahoo! Groups Links
        >
        >
        >
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.