floating point exception
Posted: 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().
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().