home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / linux / extra / docs / maillist / text / archive.94 / text0130.txt < prev    next >
Encoding:
Text File  |  1996-04-02  |  1.2 KB  |  26 lines

  1. Jeff Tupper <mooncake@csri.toronto.edu> writes:
  2. >What does executor do for SANE? Does it emulate all of the SANE calls?
  3. >What I am interested in is whether it supports control of the rounding
  4. >direction. A program I sell for the Mac uses this feature so it is not
  5. >as obscure as it may at first seem... (In some sense I am an outsider
  6. >here since I don't have an IBM yet and haven't tried executor... but I
  7. >will be getting an IBM in a couple of months and will try it then :)
  8.  
  9. Our SANE implementation uses the 80387 hardware (or an 80387 emulator
  10. if an FPU isn't present) to do 80-bit floating point arithmetic.  We
  11. implement every SANE call, although some of them are only very close
  12. approximations to the official specs and not bit-for-bit accurate.
  13. Fortunately, very few programs care about strict SANE conformance.
  14. Those that do probably won't work correctly.
  15.  
  16. To answer your question, when the emulated program changes the SANE
  17. rounding mode, Executor changes the 80387 rounding mode in the same
  18. way.  As far as we know, your program should work, but to be honest
  19. we've got so many things to work on that we haven't spent much time
  20. testing floating point details.  We'd like to hear about any problems
  21. you encounter.
  22.  
  23. -Mat
  24. mat@ardi.com
  25.  
  26.