| Server IP : 217.160.0.135 / Your IP : 216.73.217.25 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pythran/pythonic/include/types/ |
Upload File : |
#ifndef PYTHONIC_INCLUDE_TYPES_FINFO_HPP
#define PYTHONIC_INCLUDE_TYPES_FINFO_HPP
#include "pythonic/include/types/attr.hpp"
#include <limits>
PYTHONIC_NS_BEGIN
namespace types
{
template <class T>
struct finfo {
T eps() const;
};
template <class T>
struct finfo<std::complex<T>> {
T eps() const;
};
}
PYTHONIC_NS_END
/* pythran attribute system { */
PYTHONIC_NS_BEGIN
namespace builtins
{
template <class T>
auto getattr(types::attr::EPS, pythonic::types::finfo<T> const &f)
-> decltype(f.eps());
}
PYTHONIC_NS_END
/* } */
#endif