Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

parser:关于库函数中存在的一个隐式转换语法的疑惑 #78

Answered by wufeng15226
PiCaHor asked this question in Q&A
Discussion options

You must be logged in to vote

因为此处 putfloat() 被隐式声明,对于未知参数函数的实际参数,float 默认转换为了 double。可以参考 https://stackoverflow.com/questions/9182763/implicit-function-declarations-in-c

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PiCaHor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants