Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7662957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:56:02+00:00 2026-05-31T13:56:02+00:00

I noticed that this code compiles but I have no idea why: int main()

  • 0

I noticed that this code compiles but I have no idea why:

int main() {
  double z = 0.000000000000001E-383DD;
}

But I’m not sure what the DD at the end of the number means. I’ve looked through the standard but there’s no mention of this.

I got this number from the following command:

$ gcc -dM -E - < /dev/null
#define __DBL_MIN_EXP__ (-1021)
#define __FLT_MIN__ 1.17549435e-38F
#define __DEC64_DEN__ 0.000000000000001E-383DD
...

Might this be a GCC extension?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T13:56:03+00:00Added an answer on May 31, 2026 at 1:56 pm

    Right it’s a GCC extension to indicate 64-bit decimal floating point literals.

    Other extension suffixes:

    • Complex literals, e.g. 1.0i, 1.0j, 1.0fi, etc. This purely a GCC extension and the standard C99 way is to use the macro I (1.0*I, 1.0f*I, etc.)

    • Additional floating point types, which are purely a GCC extension:

      • 1.0w → __float80 (80-bit binary floating point)
      • 1.0q → __float128 (128-bit binary floating point)

    • Decimal floating point types, which is based on the proposal N1312: Extension for the programming language C to support decimal floating-point arithmetic:

      • 1.0df → _Decimal32 (32-bit decimal floating point)
      • 1.0dd → _Decimal64 (64-bit decimal floating point)
      • 1.0dl → _Decimal128 (128-bit decimal floating point)

    • Fixed-point types, which is based on the proposal N1169: Extensions to support embedded processors:

      • 0.5hr, 0.5r, 0.5ulr, etc. → _Fract types (fixed point types with magnitude ≤ 1)
      • 5.0hk, 5.0k, 5.0ulk, etc. → _Accum types (fixed point types)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I saw this in some code: $(<p/>).append(<div>something</div>).appendTo(body); and noticed that it automatically closed the
I noticed that this recipe seems to use __rlshift__ , __ror__ like operators. But,
I noticed that some stylesheets have something like this: body { font-size: 62.5%/1.2em; }
I noticed while reading through my code that I have a static member function
I have noticed in the code in my system that someone instantiated an anonymous
Hey! I was looking at this code at http://www.gnu.org/software/m68hc11/examples/primes_8c-source.html I noticed that in some
I noticed that Feedzirra uses this regex to get the ETag from response header:
I 've researched and noticed that ActiveResource lack this functionality. So, what is the
I just noticed that you can do this in C#: Unit myUnit = 5;
I've noticed that Lucene recently released v2.9 (on 25th September this year - 2009),

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.