[C++stdlibベース]数学関数の紹介-C++標準ライブラリヘッダファイル

860 ワード

ネット上の例
/*
using _CSTD abs;
using _CSTD acos; using _CSTD asin;
using _CSTD atan; using _CSTD atan2; using _CSTD ceil;
using _CSTD cos; using _CSTD cosh; using _CSTD exp;
using _CSTD fabs; using _CSTD floor; using _CSTD fmod;
using _CSTD frexp; using _CSTD ldexp; using _CSTD log;
using _CSTD log10; using _CSTD modf; using _CSTD pow;
using _CSTD sin; using _CSTD sinh; using _CSTD sqrt;
using _CSTD tan; using _CSTD tanh;
_STD_END  23   —————— 22 long   22 float  
    (7 ):cos,sin ,tan ,acos ,asin,atan ,atan2
     (3 ):cosh ,sinh, tanh(      ,  ,  )
      (6 ):exp( e  ),frexp(        ), ldexp(        ), log(     ),log10(  10         ),modf(              )
      (2 ):pow(  ),sqrt(    ) 
       (3 ):ceil( >x     ) ,floor( <x     ) ,fmod(  ) 
   (2 ):fabs (   long    ),abs 
      :pow,sqrt,ceil,floor,fabs,abs 6 
*/