🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #9223

Re: Borland C++ and Floating Point Math

#9223
From: Michael Phillips
Date: Tue, 16 Apr 1991 03:56
33 lines
2026 bytes
sharif@lamar.colostate.edu (Thomas Abdallah) writes:

>Okay,  It's about time to begin pulling hair out !

>I've been fighting with Borland's C++ v2.0 trying to get it to handle
>floating point numbers.  The manual specifically states that :

>	"The default Borland C++ code generation option is emulation
>	     ^^^^^^^
>	 (the -f command-line compiler option).  This option is for
>	 programs that may or may not have floating point, and for
>	 machines that nay or may not have an 80x87 math coprocessor."

>	-Borland C++ Programmers Guide, p.220

>When I use the BUILD option I can see the stupid thing compile my program
               ????????     
>and then actually read the EMU.LIB file during its link phase.  Now when
>I try to go back and [rest deleted]

You say "build" ? I assume then that you are compiling from the IDE,
please check "OPTIONS" --> "Code generation" --> "more" and insure
that the "project file" (or default, if no prj is active) specifies
"floating point emulation" and not "none".   I believe that the TLINK.CFG
is NOT used by the IDE.

Hope this helps.

******************************************************************************
| Michael G. Phillips          | "Only two things are infinite, the universe | 
| Dun & Bradstreet Software    | and human stupidity, and I'm not sure about |
| ..!gatech!nanovx!msa3b!mgphl | the former"   --   Albert Einstein          |
******************************************************************************
Technical Details
Message-ID: <1602@msa3b.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!wa4mei!nanovx!msa3b!mgphl
References: <14197@ccncsu.ColoState.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!wa4mei!nanovx!msa3b!mgphl
From: mgphl@msa3b.UUCP (Michael Phillips)
Newsgroups: comp.sys.ibm.pc.misc,comp.os.msdos.apps,comp.os.msdos.misc
Subject: Re: Borland C++ and Floating Point Math
Message-ID: <1602@msa3b.UUCP>
Date: 16 Apr 91 03:56:55 GMT
References: <14197@ccncsu.ColoState.EDU>
Followup-To: comp.sys.ibm.pc.misc
Organization: Dun and Bradstreet Software, Inc., Atlanta, GA
Lines: 33