[vtk-developers] Re: vtkOBBTree sqrt domain err

Brad King brad.king at kitware.com
Tue Nov 29 13:52:20 EST 2005


Mathieu Malaterre wrote:
> Or you divide by zero...
> I know how to turn FPE with gcc and VS but not for borland...

FYI:

_control87(0, MCW_EM);

turns on FPEs for Borland.  In fact they are on by default but most of 
our stuff turns them off for testing to avoid popups:

_control87(MCW_EM, MCW_EM);

Perhaps we should install a signal handler to avoid the popups so tests 
can fail when FPEs occur.

-Brad



More information about the vtk-developers mailing list