Page 1 of 1

floating point exception

Posted: Mon Jul 21, 2008 2:26 pm
by 9244864
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().

Posted: Mon Jul 21, 2008 2:37 pm
by narcis
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.