Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - ** exponentiation operator (binary) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 **                  Exponentiation operator (binary)
------------------------------------------------------------------------------
 Syntax
   nNumber1 ** nNumber2

 Arguments
   nNumber1 is a numeric expression to raise to the power of nNumber2.
   nNumber2 is the power to raise nNumber1.

 Description
   The ** operator returns a numeric value resulting from raising nNumber1
   to the power of nNumber2.

 Example
   #define EXAMPLE_OPERATOR
   #include example.hdr

   proc Test_924
   vardef
      int n
   enddef
   for n := -10 to 10
      ? n, 2 ** n
   next
   endproc

   proc main
   Test_924()
   endproc

See Also: exp() ln()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson