Change integer limits and header name to use standard names.#162
Merged
colin-home merged 4 commits intoMicrosoftDocs:masterfrom Jan 29, 2018
BillyONeal:dev/bion/update_constants
Merged
Change integer limits and header name to use standard names.#162colin-home merged 4 commits intoMicrosoftDocs:masterfrom BillyONeal:dev/bion/update_constants
colin-home merged 4 commits intoMicrosoftDocs:masterfrom
BillyONeal:dev/bion/update_constants
Conversation
jfbastien
reviewed
Jan 22, 2018
docs/cpp/integer-limits.md
Outdated
| |**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)| |
mikeblome
approved these changes
Jan 29, 2018
Contributor
Author
|
Thanks! |
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. |
Contributor
Author
|
Probably not worth touching ATLMFC. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
<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.... :)__int64andunsigned __int64. The other rows all use the standard names, and if users want what these nonstandard ones mean they can refer toint8-int16-int32-int64.md, so I resolved the conflict in favor of using the standard names.