mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 02:51:37 +01:00 
			
		
		
		
	* fix for #21199, changing epsilon to 0.0 instead of 0 helps overload selection of the
right precision. Leave mantis item over for compiler testing. git-svn-id: trunk@20461 -
This commit is contained in:
		
							parent
							
								
									39bc3b9dcf
								
							
						
					
					
						commit
						ae1ece93e5
					
				| @ -2222,7 +2222,7 @@ end; | |||||||
| function SameValue(const A, B: Extended): Boolean;inline; | function SameValue(const A, B: Extended): Boolean;inline; | ||||||
| 
 | 
 | ||||||
| begin | begin | ||||||
|   Result:=SameValue(A,B,0); |   Result:=SameValue(A,B,0.0); | ||||||
| end; | end; | ||||||
| {$endif FPC_HAS_TYPE_EXTENDED} | {$endif FPC_HAS_TYPE_EXTENDED} | ||||||
| 
 | 
 | ||||||
| @ -2231,7 +2231,7 @@ end; | |||||||
| function SameValue(const A, B: Double): Boolean;inline; | function SameValue(const A, B: Double): Boolean;inline; | ||||||
| 
 | 
 | ||||||
| begin | begin | ||||||
|   Result:=SameValue(A,B,0); |   Result:=SameValue(A,B,0.0); | ||||||
| end; | end; | ||||||
| 
 | 
 | ||||||
| function SameValue(const A, B: Double; Epsilon: Double): Boolean; | function SameValue(const A, B: Double; Epsilon: Double): Boolean; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 marco
						marco