<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
  <meta name="generator" content=
  "HTML Tidy for OS/2 (vers 1 September 2005), see www.w3.org">
<style type="text/css">
      del { font-weight:bold;background-color:#ffa0a0 }
      ins { font-weight:bold;background-color:#a0ffa0 }
      blockquote {
      display: block;
      font-family: "Times New Roman";
      background-color:lightgray;
      margin-top: 1em;
      margin-bottom: 1em;
      margin-left: 40px;
      margin-right: 40px
      }
</style>

  <title>N33??: SIGFPE and I/O</title>
</head>

<body>
  <p><br>
  <!-- Who are the authors... -->
   <b>Submitter:</b>Fred J. Tydeman<br>
  <!-- What is the date of submission. yyyy-mm-dd -->
   <b>Submission Date:</b> 2024-??-??<br>
  <b>Document:</b> WG14 N33??<br>
  <b>Title:</b> N33??: SIGFPE and I/O<br>
  <b>Reference Documents:</b>CFP 3095</p>

  <p><b>Summary</b></p>

  <p>7.12.1#1 says that SIGFPE is not allowed to be raised for any
  <math.h> function. However, SIGFPE could be raised for an
  I/O function or a numeric conversion function. For example,
  <b>scanf</b> of 1e999999 is an overflow. So need a broader
  statement.</p>

  <p><b>Proposal</b></p>

  <p>Add to "7.1.4 Use of library functions" another bullet:</p>

  <blockquote>
    Unless specified otherwise (e.g., <b>raise</b> function),
    SIGFPE shall not be raised by any library function.
  </blockquote>
</body>
</html>