X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fmisc.h;fp=src%2Flibpspp%2Fmisc.h;h=969b2621f043dbc9abfbca8e9b8c90edf937003b;hb=f5c108becd49d78f4898cab11352291f5689d24e;hp=fbd11eec3c32fc3f2536fbf6bc6ad4e80471e11c;hpb=7eee0554f378481faf447e2d2e940f389d6b05ec;p=pspp diff --git a/src/libpspp/misc.h b/src/libpspp/misc.h index fbd11eec3c..969b2621f0 100644 --- a/src/libpspp/misc.h +++ b/src/libpspp/misc.h @@ -59,21 +59,21 @@ int intlog10 (unsigned); /* Returns the square of X. */ static inline double -pow2 (double x) +pow2 (double x) { return x * x; } /* Returns the cube of X. */ static inline double -pow3 (double x) +pow3 (double x) { return x * x * x; } /* Returns the fourth power of X. */ static inline double -pow4 (double x) +pow4 (double x) { double y = x * x; y *= y;