Microsoft KB Archive/122410

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

Article ID: 122410

Article Last Modified on 7/23/2001

-

APPLIES TO


 * Microsoft Visual C++ 2.0 Professional Edition

-



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.

Additional query words: 2.00 4.00

Keywords: kbdocfix KB122410

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.