make sure "S" is generated.
[AROS-Contrib.git] / rexx / lstring / pow.c
blob8755dfed0b8dc9dcda90d69fa4c5ae7a6bc78bd0
1 /*
2 * $Header$
3 * $Log$
4 * Revision 1.1 2001/04/04 05:43:38 wang
5 * First commit: compiles on Linux, Amiga, Windows, Windows CE, generic gcc
7 * Revision 1.1 1998/07/02 17:18:00 bnv
8 * Initial Version
12 #include <math.h>
13 #include <lstring.h>
15 /* ----------------- Lpow --------------------- */
16 void
17 Lpow( const PLstr to, const PLstr num, const PLstr p )
19 L2REAL(num);
20 L2REAL(p);
21 Lrcpy(to, pow(LREAL(*num),LREAL(*p)));
22 } /* Lpow */