This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
parser:关于库函数中存在的一个隐式转换语法的疑惑 #78
-
在sysulib库中如果引用putfloat 与putint ,clang会输出 |
Beta Was this translation helpful? Give feedback.
Answered by
wufeng15226
Mar 28, 2023
Replies: 1 comment
-
因为此处 putfloat() 被隐式声明,对于未知参数函数的实际参数,float 默认转换为了 double。可以参考 https://stackoverflow.com/questions/9182763/implicit-function-declarations-in-c |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PiCaHor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
因为此处 putfloat() 被隐式声明,对于未知参数函数的实际参数,float 默认转换为了 double。可以参考 https://stackoverflow.com/questions/9182763/implicit-function-declarations-in-c