Rewrote the comments in the libraries under 'includes' in English (excluding those inside folders)

This commit is contained in:
2026-07-29 23:34:36 +08:00
parent 3633be1995
commit a2cc28a6ab
54 changed files with 7091 additions and 899 deletions

View File

@@ -24,8 +24,8 @@ def snprintf(buf: t.CChar | t.CPtr, size: t.CSizeT, fmt: str, *args) -> t.CInt |
if buf is None or fmt is None or size == 0: return 0
return vsnprintf(buf, size, fmt, args)
# 检测浮点特殊值(IEEE 754
# 返回: 0=normal, 1=+inf, 2=-inf, 3=nan
# Check floating-point special values (IEEE 754)
# Return: 0=normal, 1=+inf, 2=-inf, 3=nan
def _check_special_float(fv: t.CDouble) -> t.CInt:
fbits: t.CUInt64T = 0
c.Load(c.Addr(fbits), c.Addr(fv))