www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/05/08:59:40

Date: Sun, 5 Jul 1998 15:58:10 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jedediah Smith <jedediah AT interlog DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Integer division causes strange behavior
In-Reply-To: <359F7F4E.3845@interlog.com>
Message-ID: <Pine.SUN.3.91.980705155641.23984E-100000@is>
MIME-Version: 1.0

On Sun, 5 Jul 1998, Jedediah Smith wrote:

> A program I am writing uses this function to round toRound up to the
> nearest multiple of factor. The function is called thousands of times
> and then later on a huge amount of text (about 500k) is output to stdout
> using the cout class. While outputting all that text, sometimes right in
> the middle of a cout call, the program aborts with some sort of
> protection fault and then rhide aborts with an 'FPU not present' fault.
> The weird thing is, I have narrowed the problem down to the line marked
> with an arrow in the code below.

Please redirect the stack traceback printed when your program crashes to 
a file, and post it here in its entirety.  It is virtually impossible to 
help you without at least that info.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019