**Submitter:** Fred Tydeman (US)

**Submission Date:** 2001-02-25

**Source:**

**Reference Document:** ISO/IEC
WG14 N943

**Version:** 1.1

**Date:** 2001-10-16 11:56:00

**Subject:** Make the base standard and Annex F consistent
for ` logb(0)`.

**Summary**

should be considered a pole error in the base standard (it already is in Annex F).logb(0)

**Details**

is inconsistent between 7.12.6.11 (domain error) and Annex F (range error via divide-by-zero).logb(0)

is effectively the same aslogb(0),log(0), orlog2(0), all of which are a pole or singularity error, which is a divide-by-zero exception to Annex F and a range error to 7.12. But,log10(0)treats it as a domain error in 7.12.6.11.logb

**Suggested Technical Corrigendum**

In 7.12.6.11 ` logb`:

Change:

A domain error may occur if the argument is zero.to

A range error may occur if the argument is zero.

**Technical Corrigendum**

In 7.12.6.11 ` logb`:

Change:

A domain error may occur if the argument is zero.to

A domain error or range error may occur if the argument is zero.