[comp.sys.mac.programmer] Need advice about How-to-use-SANE

VOIROL@rcgl1.eng.ohio-state.edu (Philippe Voirol) (10/02/90)

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

jordan@Apple.COM (Jordan Mattson) (10/02/90)

Dear Phillipee -
  What you need is a copy of the SANE Bible - "Apple Numerics Manual, Second 
Edition".
  It is published through Addison-Wesley and is available at the more technical
bookstores around and from APDA at 1-800-282-APDA.


-- 


Jordan Mattson                         UUCP:      jordan@apple.apple.com
Apple Computer, Inc.                   CSNET:     jordan@apple.CSNET
Development Tools Product Management   AppleLink: Mattson1 
20400 Stevens Creek Blvd, MS 75-8X
Cupertino, CA 95014
408-974-4601
			"Joy is the serious business of heaven."
					C.S. Lewis