クリックして評価とフィードバックをお寄せください
MSDN
MSDN ライブラリ
Visual Studio 2005
Visual Studio ドキュメント
Visual C++
リファレンス
ライブラリ リファレンス
Standard C++ Library
Standard C++ Library Header Files
 <cmath>
このページは次のバージョンについて記述しています。
Microsoft Visual Studio 2005/.NET Framework 2.0

その他のバージョンについては、以下の情報を参照してください。
Standard C++ Library Reference
<cmath>

Defines the macros traditionally defined in the Standard C library header <math.h>.

#if <TRADITIONAL C HEADERS>
   #include <math.h>
namespace std {
   using ::abs; 
   using ::acos; 
   using ::acosf; 
   using ::acosl; 
   using ::asin;
   using ::asinf;
   using ::asinl;
   using ::atan; 
   using ::atan2; 
   using ::atan2f; 
   using ::atan2l; 
   using ::atanf; 
   using ::atanl; 
   using ::ceil;
   using ::ceilf;
   using ::ceill;
   using ::cos; 
   using ::cosf; 
   using ::cosh; 
   using ::coshf; 
   using ::coshl; 
   using ::cosl; 
   using ::exp;
   using ::expf;
   using ::expl;
   using ::fabs; 
   using ::fabsf; 
   using ::fabsl; 
   using ::floor; 
   using ::floorf; 
   using ::floorl; 
   using ::fmod;
   using ::fmodf;
   using ::fmodl;
   using ::frexp; 
   using ::frexpf; 
   using ::frexpl; 
   using ::ldexp; 
   using ::ldexpf; 
   using ::ldexpl; 
   using ::log;
   using ::log10; 
   using ::log10f; 
   using ::log10l; 
   using ::logf;
   using ::logl;
   using ::modf; 
   using ::modff; 
   using ::modfl; 
   using ::pow;
   using ::powf;
   using ::powl;
   using ::sin; 
   using ::sinf; 
   using ::sinh; 
   using ::sinhf; 
   using ::sinhl; 
   using ::sinl; 
   using ::sqrt;
   using ::sqrtf;
   using ::sqrtl;
   using ::tan; 
   using ::tanf; 
   using ::tanh;
   using ::tanhf;
   using ::tanhl;
   using ::tanl; 
}
#endif

Including this header also ensures that the names declared with external linkage in the Standard C library header are declared in the std namespace. In this implementation, the names may or may not also be declared in the global namespace, depending on the specific translation environment.

コミュニティ コンテンツ   コミュニティ コンテンツとは
新しいコンテンツの追加 RSS  注釈
Processing
Page view tracker