mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
gh-120026: soft deprecate Py_HUGE_VAL macro (#120027)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
28b148fb32
commit
8477951a1c
10 changed files with 23 additions and 18 deletions
|
@ -49,7 +49,7 @@
|
|||
|
||||
/* Py_HUGE_VAL should always be the same as Py_INFINITY. But historically
|
||||
* this was not reliable and Python did not require IEEE floats and C99
|
||||
* conformity. Prefer Py_INFINITY for new code.
|
||||
* conformity. The macro was soft deprecated in Python 3.14, use Py_INFINITY instead.
|
||||
*/
|
||||
#ifndef Py_HUGE_VAL
|
||||
# define Py_HUGE_VAL HUGE_VAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue