home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / pascal / 7835 < prev    next >
Encoding:
Text File  |  1993-01-04  |  1.1 KB  |  32 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!email!ps1.iaee.tuwien.ac.at!Sorokin
  3. From: Sorokin@ps1.iaee.tuwien.ac.at (Sorokin Zhenya)
  4. Subject: Problem with real <--> double conversion. Bug?
  5. Message-ID: <Sorokin.45.726161514@ps1.iaee.tuwien.ac.at>
  6. Lines: 19
  7. Sender: news@email.tuwien.ac.at
  8. Nntp-Posting-Host: pc77.iaee.tuwien.ac.at
  9. Organization: Inst. of General Electronics and Electroengeneering, TU Vienna
  10. Date: Mon, 4 Jan 1993 15:31:54 GMT
  11. Lines: 19
  12.  
  13. Just found a problem with my TP 6.0 on a 486 machine.
  14.  
  15. A program using doubles and/or singles is works fine with {$N+}.
  16. The same if I change all floats to be of "real" type and choose {$N-}.
  17.  
  18. But if I use "real" *and* {$N+}, then the system crashes, reporting emm386 
  19. exception error! Looks like it happens only at the end of the program.
  20. As far as I understand, using "real" type and coprocessor together means 
  21. that the operations are performed _by coprocessor_ and some format 
  22. conversion routine is used. 
  23.  
  24. Such problem (if it is real) will struck everyone, trying to use old 
  25. programs written with "real" types.
  26.  
  27. Any ideas?
  28.  
  29. I worked under IDE, maybe the problem was there?
  30.  
  31. Sincerely,
  32.