Rewrote the comments in the libraries under 'includes' in English (excluding those inside folders)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user