File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 5757
5858  Note  that  a  leading  plus  or  minus  is  not  regarded  by  the  parser  as 
5959  part  of  a  numeric  constant  but  as  a  unary  operator  applied  to  the  constant. 
60+ 
61+   In  order  to  help  make  long  numeric  literals  more  readable , individual 
62+   underscores  between  digits  in  the  significant  part  of  a  number  are 
63+   ignored , making  it  possible  to  write  \code {123_456_789 }. 
6064}
6165\note {
6266  When  a  string  is  parsed  to  input  a  numeric  constant , the  number  may  or 
@@ -107,5 +111,8 @@ identical(1L, as.integer(1))
107111
108112## You can combine the "0x" prefix with the "L" suffix : 
109113identical(0xFL, as.integer(15)) 
114+ 
115+ ## Use underscores to split long literals: 
116+ 0x123_456_789p1 
110117} 
111118\k eyword{documentation}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments