Skip to content

Change integer limits and header name to use standard names.#162

Merged
colin-home merged 4 commits intoMicrosoftDocs:masterfrom
BillyONeal:dev/bion/update_constants
Jan 29, 2018
Merged

Change integer limits and header name to use standard names.#162
colin-home merged 4 commits intoMicrosoftDocs:masterfrom
BillyONeal:dev/bion/update_constants

Conversation

@BillyONeal
Copy link
Copy Markdown
Contributor

  1. The header name is <limits.h> not LIMITS.H. Use of all capital letter names to refer to headers like this is rampant in the docs, but as a non-owner of this project I don't want to attempt to fix that everywhere. But since I'm editing this page anyway.... :)
  2. We now have standard spellings for __int64 and unsigned __int64. The other rows all use the standard names, and if users want what these nonstandard ones mean they can refer to int8-int16-int32-int64.md, so I resolved the conflict in favor of using the standard names.

|**ULONG_MAX**|Maximum value for a variable of type `unsigned long`.|4294967295 (0xffffffff)|
|**LLONG_MIN**|Minimum value for a variable of type `long long`|-9223372036854775808|
|**LLONG_MAX**|Maximum value for a variable of type `long long`|9223372036854775807|
|**ULLONG_MAX**|Maximum value for a variable of type ``unsigned long long`|18446744073709551615 (0xffffffffffffffff)|
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have one code-quote too many.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@colin-home colin-home merged commit 185e11a into MicrosoftDocs:master Jan 29, 2018
@BillyONeal
Copy link
Copy Markdown
Contributor Author

Thanks!

@mikeblome
Copy link
Copy Markdown
Contributor

I also fixed all the header names in the standard library docs. That seems to have been a convention back from when people coded with stone tools. Not sure if it's worth fixing in e.g. MFC and ATL.

@BillyONeal
Copy link
Copy Markdown
Contributor Author

Probably not worth touching ATLMFC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants