mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	util.c: more precision
* util.c (ruby_strtod): BigMath requires more precision. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									5cb83d9dab
								
							
						
					
					
						commit
						cf0efb8327
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								util.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								util.c
									
										
									
									
									
								
							|  | @ -2107,7 +2107,7 @@ break2: | ||||||
|         for (; c >= '0' && c <= '9'; c = *++s) { |         for (; c >= '0' && c <= '9'; c = *++s) { | ||||||
| have_dig: | have_dig: | ||||||
|             nz++; |             nz++; | ||||||
|             if (nf > DBL_DIG * 2) continue; |             if (nf > DBL_DIG * 4) continue; | ||||||
|             if (c -= '0') { |             if (c -= '0') { | ||||||
|                 nf += nz; |                 nf += nz; | ||||||
|                 for (i = 1; i < nz; i++) |                 for (i = 1; i < nz; i++) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nobu
						nobu