Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 168

Summary: [TV52014068] Client Said : If I have a lot of big values and will calculate the s...
Product: VCL TeeChart Reporter: sandra pazos <sandra>
Component: Other ComponentsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2013-11-20 10:01:27 EST
Client Said : If I have a lot of big values and will calculate the standard deviation the function will result in wrong values. I think the function have an overflow, in that case it would be nice if the value is set to double.nan or something so that i can recalculate it or change the source. Is the same problem with TeeChart .NET.
Check next example for reproduce the bug:
procedure TForm1.FillCreate;
var tmp : Double;
 t:Integer;
begin
 tmp:= RandomRange(-2000000000, 2000000000);
for t:=0 to 400000 do
 begin
 Series1.AddXY(t,tmp);
 tmp:= RandomRange(-2000000000, 2000000000);
end;
Series2.CheckDataSource;
end; [created:2009-04-07T13:51:10.000+01:00 reported by:sandra@steema.com reported in version:8.04 (TeeChart VCL)]