https://bugs.kde.org/show_bug.cgi?id=363227

--- Comment #7 from Alex Turbov <[email protected]> ---
Here is a bunch of test numbers to check the C++ FP highlighter:

    1f; -1F;                                                // integer w/
floating suffix
    0.1; -0.1;                                              // fractional
constant
    .1; -.1;                                                // fractional
constant w/o leading digit seq
    1.; -1.;                                                // ... same, but
omit trailing digit seq
    1.f; -1.F;                                              // ... same w/
floating suffix
    1.l; -1.L;                                              // ... same w/ long
double suffix
    1e1; -1e1; 1e-1; -1e-1;                                 // digit w/
exponent part
    1e1f; -1e1F; 1e-1F; -1e-1f;                             // ... same w/
floating suffix
    1e1l; -1e1L; 1e-1L; -1e-1l;
    1.0e1; -1.0e1;                                          // fractional
constant w/ exponent
    1.0e1f; -1.0e1F; 1.0e-1l; -1.0e-1L;                     // ... same w/
floating suffix
    1.0e1f; -1.0e1F; 1.0e-1l; -1.0e-1L;

    1e1_udl; 1e-1_udl; 1.0e1_udl; 1.0e-1_udl;               // w/ user defined
literal suffix

    // std::complex suffixes
    1i; 1if; 1il;
    1.i; 1.if; 1.il;
    1e1i; 1e-1i; 1.0e1i; 1.0e-1i;
    1e1if; 1e-1if; 1.0e1if; 1.0e-1if;
    1e1il; 1e-1il; 1.0e1il; 1.0e-1il;

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to