floating point exception

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Andy
Newbie
Newbie
Posts: 32
Joined: Wed Apr 18, 2007 12:00 am
Location: Germany Oldenburg
Contact:

floating point exception

Post by Andy » Mon Jul 21, 2008 2:26 pm

I use TChart 5.0 VCL for Borland Builder.

I get a nervy floating point exception by refreshing of the chart.

The data I write in the chart is ok, but I seem that TChart looks
to the global FPU status.

When I produce a floating point error in my program
the gloabl FPU status is changed.
When the chart must repainted or any other must done (click in the chart)
I get the floating point exception.

I think that its looks to the global FPU status, find an error in it
and thinks it has produces the error and throws an exception.

The clear87() helps, but I must do it after every floating point operation.
that can produce an error.

Is there a "point" (event) before any thing is done with
the chart. So that I can call here _clear87().

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jul 21, 2008 2:37 pm

Hi pbarber,

Could you please send us a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply