| 349 | | <T> T $abs(T x); // absolute value (T must be a numeric type) |
| 350 | | <T> T $pow(T x, $int n); // x to the n-th power. T must be a numeric type; n>=0. |
| | 349 | $real $abs($real x); // absolute value on reals |
| | 350 | $int $absi($int x); // absolute value on integers |
| | 351 | $float32 $abs32($float32 x); // absolute value on $float32 |
| | 352 | $float64 $abs64($float64 x); // absolute value on $float64 |
| | 353 | $real $pow($real x, $int n); // x to the n-th power. n>=0 |
| | 354 | $int $powi($int x, $int n); |
| | 355 | $float32 $pow32($float32 x, $int n); |
| | 356 | $float64 $pow64($float64 x, $int n); |
| | 357 | // do we need herbrand versions of above? make these expressions? |
| | 358 | // trig functions? pi? |