Rene Brun
BUG: The pow() Function Doesn't Set Underflow Condition
Last reviewed: July 31, 1997
Article ID: Q167750
--------------------------------------------------
The information in this article applies to:
The C Run-time (CRT) included with: - Microsoft Visual C++,
32-bit Editions, version 5.0
SYMPTOMS
The pow() function does not set the errno variable to indicate that
an underflow condition has occurred.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed
at the beginning of this article. We are researching this bug and will
post
new information here in the Microsoft Knowledge Base as it becomes
available.
MORE INFORMATION
The help topic for pow() states:
"No error message is printed on overflow or underflow."
However, an overflow does set errno to the value of 34 indicating
"Result too large". When an underflow occurs, the returned value is 0.
Keywords : CRTIss vcbuglist500 kbtool kbbuglist
Version : 5.0
Platform : NT WINDOWS
Issue type : kbbug