求大佬帮忙看看哪错了
#include<bits/stdc++.h> using namespace std; int main() { float a; cin>>a; int n=log2(a); cout<<n<<endl; return 0; }