Problem | trivialmaths |
---|---|
User | YSH2020 |
Submission Time | 2023-08-18 13:18: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:4:5: error: ‘int32_t’ was not declared in this scope
4 | int32_t e;
| ^~~~~~~
trivialmaths.cpp:6:5: error: ‘e’ was not declared in this scope
6 | e = (__float_as_int (a) - 0x3f2aaaab) & 0xff800000;
| ^
trivialmaths.cpp:6:26: error: ‘a’ was not declared in this scope
6 | e = (__float_as_int (a) - 0x3f2aaaab) & 0xff800000;
| ^
trivialmaths.cpp:6:10: error: ‘__float_as_int’ was not declared in this scope
6 | e = (__float_as_int (a) - 0x3f2aaaab) & 0xff800000;
| ^~~~~~~~~~~~~~
trivialmaths.cpp:7:9: error: ‘__int_as_float’ was not declared in this scope
7 | m = __int_as_float (__float_as_int (a) - e);
| ^~~~~~~~~~~~~~
trivialmaths.cpp:13:9: error: ‘fmaf’ was not declared in this scope
13 | r = fmaf (0.230836749f, f, -0.279208571f); // 0x1.d8c0f0p-3