Problem | trivialmaths |
---|---|
User | bribritt |
Submission Time | 2023-10-16 14:10:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
trivialmaths.cpp: In function ‘float log_e(float)’:
trivialmaths.cpp:7:14: error: no matching function for call to ‘frexp(float&, long long int*)’
7 | m=frexp(i,&n);
| ^
In file included from /usr/include/features.h:461,
from /usr/include/x86_64-linux-gnu/c++/9/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/c++config.h:528,
from /usr/include/c++/9/cassert:43,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from trivialmaths.cpp:2:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:98:1: note: candidate: ‘double frexp(double, int*)’
98 | __MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent));
| ^~~~~~~~~~
In file included from /usr/include/c++/9/cmath:45,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from trivialmaths.cpp:2:
/usr/include/x86_64-linux-