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: <http://gna.org/patch/?1948> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev