[comp.sys.mac.programmer] Earth calling 68881?

petrus@alex.stacken.kth.se (Lars Petrus) (06/26/91)

   Having just overcome the trauma of my bathroom breaking down, leaving me
to pay 2500$ I don't have for the privilige of not having a bathroom for 
months, I decided to test the new 68881 that finally had arrived for my 
Mac IIsi.

   First I tried mark the 68881 checkbox in Options... (I use Think C).
After 10 minutes of recompiling everything, the program ran but... all
the graphics was wrongly calculated. I guess it has to do with the 96 vs 80
bits thing, possibly since I use sscanf(). What I saw sure ran much faster
than before though!

   So I tried what I wanted to do all the time anyway: SANE. As described
on page 123 of the manual, I added the SANE library to my project. As 
described on the same page, I #included the file SANE.h before math.h.
   After 10 minutes of recompiling everything, the program ran. It 
worked fine! In fact the big task that used to take 24.4 seconds, now
took 24.6 seconds to execute.
    Somehow I don't think that SANE called my 68881. I feel tired. I used
all the tricks i could find in the Think C manual. I hate to admit it, but
I need help.

   Any ideas?


"Madness is the first sign of dandruff" |   Email:   petrus@alex.stacken.kth.se
   - Dr Winston O'Boogie                |   Reality: Lars Petrus, Solna, Sweden