Server IP : 103.191.208.50 / Your IP : 216.73.216.226 Web Server : LiteSpeed System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : celkcksm ( 1031) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /opt/alt/python312/include/python3.12/cpython/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
#ifndef Py_CPYTHON_FLOATOBJECT_H # error "this header file must not be included directly" #endif typedef struct { PyObject_HEAD double ob_fval; } PyFloatObject; #define _PyFloat_CAST(op) \ (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op)) // Static inline version of PyFloat_AsDouble() trading safety for speed. // It doesn't check if op is a double object. static inline double PyFloat_AS_DOUBLE(PyObject *op) { return _PyFloat_CAST(op)->ob_fval; } #define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op)) PyAPI_FUNC(int) PyFloat_Pack2(double x, char *p, int le); PyAPI_FUNC(int) PyFloat_Pack4(double x, char *p, int le); PyAPI_FUNC(int) PyFloat_Pack8(double x, char *p, int le); PyAPI_FUNC(double) PyFloat_Unpack2(const char *p, int le); PyAPI_FUNC(double) PyFloat_Unpack4(const char *p, int le); PyAPI_FUNC(double) PyFloat_Unpack8(const char *p, int le);