Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!quanta.eng.ohio-state.edu!rcgl1.eng.ohio-state.edu!VOIROL From: VOIROL@rcgl1.eng.ohio-state.edu (Philippe Voirol) Newsgroups: comp.sys.mac.programmer Subject: Need advice about How-to-use-SANE Message-ID: <5914@quanta.eng.ohio-state.edu> Date: 1 Oct 90 17:35:26 GMT Sender: news@quanta.eng.ohio-state.edu Organization: Ohio State University Lines: 37 Nntp-Posting-Host: eng.ohio-state.edu Is there somebody out there who can introduce me to the art of How-to-use-SANE ? I am writing an interactive simulation application (biomechanics) which involves some heavy number crunching in the motion integration loop. In particular the simulation may well go unstable and I need to catch that before the Mac crashes... So I need to monitor the floating point operations and I think that's what SANE is made for. I would be happy to hear about how to do that in a reasonable way. For instance I assume that not every single FP operation has to be checked but only a few critical ones, right ? Any advice welcome, example codes, pointers to references (pretty indirect, no?) Thanks in advance. PS: The application has 3D graphical output for the simulation (pseudo-real time). Sofar I convert directly from floating point world coordinates to integer screen coordinates. Would it be more efficient to use a type like Fixed or Frac for the world coord's (in terms of speed ?) Philippe Voirol Mechanical Engineering Ohio State University 206 W. 18th Ave. Columbus, Ohio 43210 e-mail : voirol%rcgl1@eng.ohio-state.edu Philippe Voirol Dept. of Mech. Engineering 206 W.18th Ave. Columbus , Oh. 43210 E-mail : voirol%rcgl1@eng.ohio-state.edu