delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/17/04:10:28

Date: Tue, 17 Jun 1997 11:09:07 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Phil Galbiati <galbiati AT cse DOT ogi DOT edu>
cc: dj AT delorie DOT com, djgpp AT delorie DOT com
Subject: Re: Symify crashes in Windows Dos box
In-Reply-To: <Pine.SUN.3.95.970616013955.15752A-100000@blue.cse.ogi.edu>
Message-ID: <Pine.SUN.3.91.970617110848.20818J-100000@is>
MIME-Version: 1.0

On Mon, 16 Jun 1997, Phil Galbiati wrote:

> If somebody who has access to these standards could comment on the
> subject, I would appreciate it.

Amazingly enough, ANSI standard doesn't seem to say anything about
this, at least in the context of `printf' and friends.  The
description of <math.h> functions does say that they should NOT
generate any exceptions but set `errno' to EDOMAIN or ERANGE (which
apparently is NOT the case with math functions in libc.a), but it
keeps silence about float conversions in `printf'.

From various related sources, it seems that the most relevant place to
look is the IEEE standard, but I don't have access to it.  Anybody?

- Raw text -


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