/
opt
/
alt
/
python38
/
include
/
python3.8
/
/opt/alt/python38/include/python3.8
mkdir
upload
Name
Size
Mode
Actions
cpython/
-
0755
rm
internal/
-
0755
rm
abstract.h
30286
0644
edit
dl
rm
asdl.h
1229
0644
edit
dl
rm
ast.h
948
0644
edit
dl
rm
bitset.h
468
0644
edit
dl
rm
bltinmodule.h
264
0644
edit
dl
rm
boolobject.h
886
0644
edit
dl
rm
bytearrayobject.h
2114
0644
edit
dl
rm
bytesobject.h
8493
0644
edit
dl
rm
bytes_methods.h
3301
0644
edit
dl
rm
cellobject.h
713
0644
edit
dl
rm
ceval.h
8366
0644
edit
dl
rm
classobject.h
1710
0644
edit
dl
rm
code.h
7178
0644
edit
dl
rm
codecs.h
6793
0644
edit
dl
rm
compile.h
3582
0644
edit
dl
rm
complexobject.h
1807
0644
edit
dl
rm
context.h
2014
0644
edit
dl
rm
datetime.h
9260
0644
edit
dl
rm
descrobject.h
3019
0644
edit
dl
rm
dictobject.h
3716
0644
edit
dl
rm
dtoa.h
458
0644
edit
dl
rm
dynamic_annotations.h
22469
0644
edit
dl
rm
enumobject.h
253
0644
edit
dl
rm
errcode.h
1695
0644
edit
dl
rm
eval.h
1209
0644
edit
dl
rm
fileobject.h
1571
0644
edit
dl
rm
fileutils.h
4352
0644
edit
dl
rm
floatobject.h
4794
0644
edit
dl
rm
frameobject.h
3317
0644
edit
dl
rm
funcobject.h
4200
0644
edit
dl
rm
genobject.h
3720
0644
edit
dl
rm
graminit.h
2118
0644
edit
dl
rm
grammar.h
1821
0644
edit
dl
rm
import.h
4926
0644
edit
dl
rm
interpreteridobject.h
334
0644
edit
dl
rm
intrcheck.h
861
0644
edit
dl
rm
iterobject.h
567
0644
edit
dl
rm
listobject.h
2927
0644
edit
dl
rm
longintrepr.h
3799
0644
edit
dl
rm
longobject.h
9520
0644
edit
dl
rm
marshal.h
803
0644
edit
dl
rm
memoryobject.h
2765
0644
edit
dl
rm
methodobject.h
4406
0644
edit
dl
rm
modsupport.h
9591
0644
edit
dl
rm
moduleobject.h
2362
0644
edit
dl
rm
namespaceobject.h
349
0644
edit
dl
rm
node.h
1328
0644
edit
dl
rm
object.h
29599
0644
edit
dl
rm
objimpl.h
10537
0644
edit
dl
rm
odictobject.h
1300
0644
edit
dl
rm
opcode.h
5164
0644
edit
dl
rm
osdefs.h
737
0644
edit
dl
rm
osmodule.h
291
0644
edit
dl
rm
parsetok.h
2958
0644
edit
dl
rm
patchlevel.h
1299
0644
edit
dl
rm
picklebufobject.h
847
0644
edit
dl
rm
pyarena.h
2744
0644
edit
dl
rm
pycapsule.h
1726
0644
edit
dl
rm
pyconfig-64.h
47579
0644
edit
dl
rm
pyconfig.h
161
0644
edit
dl
rm
pyctype.h
1387
0644
edit
dl
rm
pydebug.h
1214
0644
edit
dl
rm
pydtrace.h
2413
0644
edit
dl
rm
pyerrors.h
12786
0644
edit
dl
rm
pyexpat.h
2572
0644
edit
dl
rm
pyfpe.h
341
0644
edit
dl
rm
pyhash.h
4140
0644
edit
dl
rm
pylifecycle.h
2081
0644
edit
dl
rm
pymacconfig.h
2989
0644
edit
dl
rm
pymacro.h
3778
0644
edit
dl
rm
pymath.h
8312
0644
edit
dl
rm
pymem.h
5406
0644
edit
dl
rm
pyport.h
30221
0644
edit
dl
rm
pystate.h
4686
0644
edit
dl
rm
pystrcmp.h
436
0644
edit
dl
rm
pystrhex.h
849
0644
edit
dl
rm
pystrtod.h
1483
0644
edit
dl
rm
Python-ast.h
26491
0644
edit
dl
rm
Python.h
3615
0644
edit
dl
rm
pythonrun.h
7645
0644
edit
dl
rm
pythread.h
5660
0644
edit
dl
rm
pytime.h
8926
0644
edit
dl
rm
py_curses.h
2477
0644
edit
dl
rm
rangeobject.h
629
0644
edit
dl
rm
setobject.h
3362
0644
edit
dl
rm
sliceobject.h
2517
0644
edit
dl
rm
structmember.h
2030
0644
edit
dl
rm
structseq.h
1377
0644
edit
dl
rm
symtable.h
5308
0644
edit
dl
rm
sysmodule.h
1242
0644
edit
dl
rm
token.h
2429
0644
edit
dl
rm
traceback.h
601
0644
edit
dl
rm
tracemalloc.h
1114
0644
edit
dl
rm
tupleobject.h
1661
0644
edit
dl
rm
typeslots.h
2253
0644
edit
dl
rm
ucnhash.h
1056
0644
edit
dl
rm
unicodeobject.h
35732
0644
edit
dl
rm
warnings.h
1776
0644
edit
dl
rm
weakrefobject.h
2866
0644
edit
dl
rm
Edit:
/opt/alt/python38/include/python3.8/floatobject.h
(4794B)
/* Float object interface */ /* PyFloatObject represents a (double precision) floating point number. */ #ifndef Py_FLOATOBJECT_H #define Py_FLOATOBJECT_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_LIMITED_API typedef struct { PyObject_HEAD double ob_fval; } PyFloatObject; #endif PyAPI_DATA(PyTypeObject) PyFloat_Type; #define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type) #define PyFloat_CheckExact(op) (Py_TYPE(op) == &PyFloat_Type) #ifdef Py_NAN #define Py_RETURN_NAN return PyFloat_FromDouble(Py_NAN) #endif #define Py_RETURN_INF(sign) do \ if (copysign(1., sign) == 1.) { \ return PyFloat_FromDouble(Py_HUGE_VAL); \ } else { \ return PyFloat_FromDouble(-Py_HUGE_VAL); \ } while(0) PyAPI_FUNC(double) PyFloat_GetMax(void); PyAPI_FUNC(double) PyFloat_GetMin(void); PyAPI_FUNC(PyObject *) PyFloat_GetInfo(void); /* Return Python float from string PyObject. */ PyAPI_FUNC(PyObject *) PyFloat_FromString(PyObject*); /* Return Python float from C double. */ PyAPI_FUNC(PyObject *) PyFloat_FromDouble(double); /* Extract C double from Python float. The macro version trades safety for speed. */ PyAPI_FUNC(double) PyFloat_AsDouble(PyObject *); #ifndef Py_LIMITED_API #define PyFloat_AS_DOUBLE(op) (((PyFloatObject *)(op))->ob_fval) #endif #ifndef Py_LIMITED_API /* _PyFloat_{Pack,Unpack}{4,8} * * The struct and pickle (at least) modules need an efficient platform- * independent way to store floating-point values as byte strings. * The Pack routines produce a string from a C double, and the Unpack * routines produce a C double from such a string. The suffix (4 or 8) * specifies the number of bytes in the string. * * On platforms that appear to use (see _PyFloat_Init()) IEEE-754 formats * these functions work by copying bits. On other platforms, the formats the * 4- byte format is identical to the IEEE-754 single precision format, and * the 8-byte format to the IEEE-754 double precision format, although the * packing of INFs and NaNs (if such things exist on the platform) isn't * handled correctly, and attempting to unpack a string containing an IEEE * INF or NaN will raise an exception. * * On non-IEEE platforms with more precision, or larger dynamic range, than * 754 supports, not all values can be packed; on non-IEEE platforms with less * precision, or smaller dynamic range, not all values can be unpacked. What * happens in such cases is partly accidental (alas). */ /* The pack routines write 2, 4 or 8 bytes, starting at p. le is a bool * argument, true if you want the string in little-endian format (exponent * last, at p+1, p+3 or p+7), false if you want big-endian format (exponent * first, at p). * Return value: 0 if all is OK, -1 if error (and an exception is * set, most likely OverflowError). * There are two problems on non-IEEE platforms: * 1): What this does is undefined if x is a NaN or infinity. * 2): -0.0 and +0.0 produce the same string. */ PyAPI_FUNC(int) _PyFloat_Pack2(double x, unsigned char *p, int le); PyAPI_FUNC(int) _PyFloat_Pack4(double x, unsigned char *p, int le); PyAPI_FUNC(int) _PyFloat_Pack8(double x, unsigned char *p, int le); /* Needed for the old way for marshal to store a floating point number. Returns the string length copied into p, -1 on error. */ PyAPI_FUNC(int) _PyFloat_Repr(double x, char *p, size_t len); /* Used to get the important decimal digits of a double */ PyAPI_FUNC(int) _PyFloat_Digits(char *buf, double v, int *signum); PyAPI_FUNC(void) _PyFloat_DigitsInit(void); /* The unpack routines read 2, 4 or 8 bytes, starting at p. le is a bool * argument, true if the string is in little-endian format (exponent * last, at p+1, p+3 or p+7), false if big-endian (exponent first, at p). * Return value: The unpacked double. On error, this is -1.0 and * PyErr_Occurred() is true (and an exception is set, most likely * OverflowError). Note that on a non-IEEE platform this will refuse * to unpack a string that represents a NaN or infinity. */ PyAPI_FUNC(double) _PyFloat_Unpack2(const unsigned char *p, int le); PyAPI_FUNC(double) _PyFloat_Unpack4(const unsigned char *p, int le); PyAPI_FUNC(double) _PyFloat_Unpack8(const unsigned char *p, int le); /* free list api */ PyAPI_FUNC(int) PyFloat_ClearFreeList(void); PyAPI_FUNC(void) _PyFloat_DebugMallocStats(FILE* out); /* Format the object based on the format_spec, as defined in PEP 3101 (Advanced String Formatting). */ PyAPI_FUNC(int) _PyFloat_FormatAdvancedWriter( _PyUnicodeWriter *writer, PyObject *obj, PyObject *format_spec, Py_ssize_t start, Py_ssize_t end); #endif /* Py_LIMITED_API */ #ifdef __cplusplus } #endif #endif /* !Py_FLOATOBJECT_H */
Save
cmd:
run