https://github.com/geodynamics/citcoms
Revision e6414a796d1a97c26b4032a68038fd812f318e22 authored by Eh Tan on 19 November 2008, 06:49:04 UTC, committed by Eh Tan on 19 November 2008, 06:49:04 UTC
One bug is when n=0, it returned a, instead of 1
Another bug is a^(n-1) was returned

1 parent 00f2357
Raw File
Tip revision: e6414a796d1a97c26b4032a68038fd812f318e22 authored by Eh Tan on 19 November 2008, 06:49:04 UTC
Fixed two bugs in lg_pow(a, n), which computes a^n.
Tip revision: e6414a7
INSTALL
Installation Instructions
*************************

The simplest way to compile this package is:

  1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system. 

     Running `configure' takes awhile.  While running, it prints some
     messages telling which features it is checking for.

     Several optional features are disabled by default. Type
     `./configure --help' to list all available options.

  2. Type `make' to compile the package.

  3. Optionally, type `make install' to install the programs and any data
     files and documentation.

  4. You can remove the program binaries and object files from the
     source code directory by typing `make clean'.  To also remove the
     files that `configure' created (so you can compile the package for
     a different kind of computer), type `make distclean'. 

back to top