%PDF- %PDF-
| Direktori : /lib/python3/dist-packages/pythran/pythonic/math/ |
| Current File : //lib/python3/dist-packages/pythran/pythonic/math/frexp.hpp |
#ifndef PYTHONIC_MATH_FREXP_HPP
#define PYTHONIC_MATH_FREXP_HPP
#include "pythonic/include/math/frexp.hpp"
#include "pythonic/utils/functor.hpp"
#include "pythonic/types/tuple.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
std::tuple<double, long> frexp(double x)
{
int exp;
double sig = std::frexp(x, &exp);
return std::tuple<double, long>(sig, exp);
}
}
PYTHONIC_NS_END
#endif