home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!Germany.EU.net!unido!news.Hamburg.Germany.EU.net!abqhh!uwesa!heiko
- From: heiko@uwesa.hanse.de (Heiko Weber)
- Newsgroups: comp.sys.ibm.pc.misc
- Subject: BC2 and BC3, FPU-emulation bug
- Message-ID: <heiko00#711792171@uwesa.hanse.de>
- Date: 22 Jul 92 08:02:51 GMT
- Lines: 26
-
- Hi folks !
-
- I've written a C++ programm, (compiled about 150k), which uses
- much of floating point calculations ('+', '-', '*', '/', '<' '>',...)
- I use both Borland C++ compilers (Version 2 and 3), with the same
- result:
- When I run the program, everythink is just fine, but when all
- is done (at the end of "main()"), it just "hang" the system
- (I have a 386 board, without 387) with the following message:
-
- floating point error: stack fault
- memory allocation error, unable to load COMMAND.COM
- system stoped
-
- So I tried the program on a 486, under nearly the same contitions
- -> NO PROBLEM, now I believe, there must be a problem, under some
- conditions, with the Borland FPU-emulation-library. I ordered a
- 387 for my home system today, but thats not realy a solution ...
-
- Any idea ?
-
- Heiko
- --
- | Heiko Weber jun. | heiko@uwesa.hanse.de | carrier: 049-4169-448 |
- | D-2151 Sauensiek | Loehe 5 | Germany | voice: 049-4169-1366 |
- +------------------+----------------------+-----------------------+
-