Problem | trivialmaths |
---|---|
User | AlphanumericUsername |
Submission Time | 2023-01-23 21:38:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
trivialmaths.cpp: In function ‘float log_e(float)’:
trivialmaths.cpp:16:56: error: a function-definition is not allowed here before ‘{’ token
16 | float i, m, r, s, t;float __int_as_float (int32_t a) { float r; memcpy (&r, &a, sizeof r); return r;}
| ^
trivialmaths.cpp:17:34: error: a function-definition is not allowed here before ‘{’ token
17 | int32_t __float_as_int (float a) { int32_t r; memcpy (&r, &a, sizeof r); return r;}
| ^
trivialmaths.cpp:21:1: error: a function-definition is not allowed here before ‘{’ token
21 | {
| ^