🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools.owl
Article #17

Seriuos bug in BC4.52 !!!

#17
From: Jarek Sacha
Date: Fri, 02 Feb 1996 20:12
22 lines
1079 bytes
Hi,
It is the following simple code couses "Floating Point: Overflow" in 
BC450RTL.DLL
 
double x;
ifstream inF("x.txt");
if(inF)
   inF >> x;

Content on x.txt:
1.0 2

The error apears if the file x.txt floating point numbers. If there are 
only integers the program works fine, for instance file containing:
1 2
is read without problems. The bug shows only if the program using OWL 
under Windows95. The same executable runing under Windows3.1 works fine.
I wonder if somebody had similar problems.
Regards,

Jarek
Jarek.Sacha@EISC.org
Technical Details
Message-ID: <31127033.BD3@uoft02.utoledo.edu>
Path: arc1-ca.pugleaf.net!utnetw.utoledo.edu!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools.owl,comp.lang.c++
Path: arc1-ca.pugleaf.net!utnetw.utoledo.edu!news
From: Jarek Sacha <jsacha@uoft02.utoledo.edu>
Subject: Seriuos bug in BC4.52 !!!
Content-Type: text/plain; charset=us-ascii
Message-ID: <31127033.BD3@uoft02.utoledo.edu>
Sender: news@utnetw.utoledo.edu (News Manager)
Content-Transfer-Encoding: 7bit
Cc: eisc <jaroslaw.sacha@eisc.org>
Organization: University of Toledo
Mime-Version: 1.0
Date: Fri, 2 Feb 1996 20:12:35 GMT
X-Mailer: Mozilla 2.0b6a (Win95; I)