#ifndef PYTHONIC_BUILTIN_FLOAT_HPP #define PYTHONIC_BUILTIN_FLOAT_HPP #include "pythonic/include/builtins/float_.hpp" #include "pythonic/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace builtins { namespace functor { template float_::type float_::operator()(T &&t) const { return static_cast(t); } float_::type float_::operator()() const { return 0.; } } } PYTHONIC_NS_END #endif