Follow-up Comment #2, patch #1948 (project freeciv):
Anyway small functions like them are usually treat as inline by the compiler.
So using pow() would just make the code less efficient, not gaining anything.
An inline square() function would preserve the exact current behaviour, not
sure it would gain anything however.
Reply to this item at:
Message posté via/par Gna!
Freeciv-dev mailing list