delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/08/27/11:03:22

Date: Thu, 27 Aug 92 16:19:26 +0100
From: buers AT dg1 DOT chemie DOT uni-konstanz DOT de (Dieter Buerssner)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Cc: dj AT ctron DOT com
Subject: doprnt bug and patch

In an earlier message today I gave an example program. This program won't
compile. Sorry for the inconvinience. The problem is, that I used a patched
go32, where the control word of the numerical coprocessor is set to allow
zero division (just one statement in npx.asm). With the original go32 you'll 
get an exception 117 if you devide 1.0/0.0 and the program will abort. 
The patch to doprint.c is nevertheless useful, because you can get Inf 
with different operations  (try pow(10.0, 500.0) instead). 

Dieter

- Raw text -


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