math.hpp 217 B

12345678910111213
  1. #ifndef MATH_HPP
  2. #define MATH_HPP
  3. namespace Math{
  4. inline double exp(double x){
  5. x=1+x/1024;
  6. x *= x; x *= x; x *= x; x *= x;
  7. x *= x; x *= x; x *= x; x *= x;
  8. x *= x; x *= x;
  9. return x;
  10. }
  11. }
  12. #endif