DOC: pow(0,0) Function Not Documented (122410)



The information in this article applies to:

  • Microsoft Visual C++ 2.0

This article was previously published under Q122410
2.00 WINDOWS NT kbprg kbdocerr

SUMMARY

The return value of the pow() function, which computes the value of x raised to the y power, is not documented in the case of pow(0,0). In this case, the pow() function returns 1.

MORE INFORMATION

The behavior of pow(0,0) conforms to the proposed NCEG (Numerical C Extensions Group) standard. See NCEG draft 92-014, F.4.3 for more information. The documents were corrected in Microsoft Visual C++, version 4.0.

Modification Type:MajorLast Reviewed:7/23/2001
Keywords:kbdocfix KB122410