1 #ifndef PYTHONIC_INCLUDE_MATH_LOG_HPP 2 #define PYTHONIC_INCLUDE_MATH_LOG_HPP 3 4 #include "pythonic/include/utils/functor.hpp" 5 #include <cmath> 6 7 PYTHONIC_NS_BEGIN 8 9 namespace math 10 { 11 using std::log; 12 double log(double x, double base); 13 DEFINE_FUNCTOR(pythonic::math, log); 14 } 15 PYTHONIC_NS_END 16 17 #endif 18