Staging
v0.5.1
https://github.com/python/cpython
Revision 100fafcf20e8fc67cd8ef512074f9c0a253cb427 authored by Victor Stinner on 12 January 2020, 01:15:42 UTC, committed by GitHub on 12 January 2020, 01:15:42 UTC
Return the next floating-point value after x towards y.
1 parent 1b335ae
Raw File
Tip revision: 100fafcf20e8fc67cd8ef512074f9c0a253cb427 authored by Victor Stinner on 12 January 2020, 01:15:42 UTC
bpo-39288: Add math.nextafter(x, y) (GH-17937)
Tip revision: 100fafc
dtoa.h
#ifndef Py_LIMITED_API
#ifndef PY_NO_SHORT_FLOAT_REPR
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr);
PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits,
                        int *decpt, int *sign, char **rve);
PyAPI_FUNC(void) _Py_dg_freedtoa(char *s);
PyAPI_FUNC(double) _Py_dg_stdnan(int sign);
PyAPI_FUNC(double) _Py_dg_infinity(int sign);


#ifdef __cplusplus
}
#endif
#endif
#endif
back to top