mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 04:39:41 +01:00 
			
		
		
		
	TAChart: Fix numlib issue of returning 0 for exp() function (https://forum.lazarus.freepascal.org/index.php/topic,42913.msg299793)
git-svn-id: trunk@59320 -
This commit is contained in:
		
							parent
							
								
									179cc59ee6
								
							
						
					
					
						commit
						1af1c96e32
					
				@ -528,6 +528,14 @@ begin
 | 
			
		||||
    X(AXText).Y(AYText).NumFormat(ANumFormat).Params(AParams);
 | 
			
		||||
end;
 | 
			
		||||
 | 
			
		||||
// Workaround for numlib issue with too-small arguments of exp()
 | 
			
		||||
// https://bugs.freepascal.org/view.php?id=34434
 | 
			
		||||
function exp(x: ArbFloat): ArbFloat;
 | 
			
		||||
begin
 | 
			
		||||
  Result := system.exp(x);
 | 
			
		||||
end;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{ TColorMapLegendItem }
 | 
			
		||||
 | 
			
		||||
constructor TLegendItemColorMap.Create(
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user