Problem trivialmaths
User JIZHE
Submission Time 2023-04-01 18:15:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trivialmaths.cpp: In function ‘float log_e(float)’:
trivialmaths.cpp:6:10: error: ‘__float_as_int’ was not declared in this scope
6 | e = (__float_as_int (X) - 0x3f2aaaab) & 0xff800000;
| ^~~~~~~~~~~~~~
trivialmaths.cpp:7:9: error: ‘__int_as_float’ was not declared in this scope
7 | m = __int_as_float (__float_as_int (X) - e);
| ^~~~~~~~~~~~~~
trivialmaths.cpp:13:9: error: ‘fmaf’ was not declared in this scope
13 | r = fmaf (0.230836749f, f, -0.279208571f); // 0x1.d8c0f0p-3, -0x1.1de8dap-2
| ^~~~