3 ms·
See, it is confusing, because the code doesn't compute a power. It's a multiplication with the value pointed to by int_ptr, e.g. rewritten to make more sense:
by flohofwoe 2y ago
See, it is confusing, because the code doesn't compute a power.
It's a multiplication with the value pointed to by int_ptr, e.g. rewritten to make more sense:
int a = 3 * (*int_ptr);
...or in Odin it would look like this (I think, haven't used Odin all that much yet):
a := 3 * int_ptr^