- 
                Notifications
    You must be signed in to change notification settings 
- Fork 559
Numeric literal expressions and literal suffixes #1177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    
  
     Merged
                    Changes from 17 commits
      Commits
    
    
            Show all changes
          
          
            24 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      34e7e5f
              
                tokens.md: move the link reference definitions to the end of the file
              
              
                mattheww e06fea0
              
                Move the general description of literal expressions from tokens.md to…
              
              
                mattheww 9b32e40
              
                Describe the effect of integer literal suffixes in literal-expr.md ra…
              
              
                mattheww 8fbbbda
              
                Describe the effect of floating-point literal suffixes in literal-exp…
              
              
                mattheww d478e54
              
                Document how the value of an integer literal expression is determined
              
              
                mattheww 938011b
              
                Say that integer literals out of the u128 range are a parse-time error
              
              
                mattheww 9495744
              
                Literal expressions: add a Note describing the overflowing_literals lint
              
              
                mattheww 72a554a
              
                Document how the value of a floating-point literal expression is dete…
              
              
                mattheww c8b9a20
              
                Literal expressions: add a Note on infinite and NaN floating-point li…
              
              
                mattheww 1913a4f
              
                Notes about negated literals
              
              
                mattheww 46d4a27
              
                Say that out-of-range suffixed integer literals are valid lexer tokens
              
              
                mattheww 5f81f6a
              
                Make the FLOAT_LITERAL rule mention keywords as well as identifiers
              
              
                mattheww 71fd6e3
              
                Add the 5f32 case to the text description of floating-point literals
              
              
                mattheww e2015cc
              
                Add some examples of possibly confusing hexadecimal literals
              
              
                mattheww 6a379ac
              
                Add a Lexer rules block for number literals with arbitrary suffixes
              
              
                mattheww 6e19792
              
                Document reserved forms similar to number literals
              
              
                mattheww e5ef69a
              
                tokens.md: add two zero-width spaces to placate linkchecker
              
              
                mattheww 8aa8b9a
              
                Cover two missing cases of number pseudoliterals
              
              
                mattheww 7baad0a
              
                Make the FLOAT_LITERAL rule about final `.` more accurate
              
              
                mattheww 9704aad
              
                Literal expressions: text improvements from ehuss
              
              
                mattheww 56105c2
              
                tokens.md: add missing superscript markup
              
              
                mattheww d1f3e7f
              
                Number pseudoliterals and reserved forms: text improvements from ehuss
              
              
                mattheww 0c4554f
              
                Literal expressions: use a sublist when describing choice of radix
              
              
                mattheww 2c78399
              
                Literal expressions: add placeholder sections for types not yet docum…
              
              
                mattheww File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      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
    
  
  
    
              
              
      
      Oops, something went wrong.
        
    
  
  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.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.