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
History
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
File Mode Size
checkpoint
Makefile.am -rw-r--r-- 1.0 KB
array2d.cc -rw-r--r-- 3.9 KB
coupled.cfg -rw-r--r-- 1.7 KB
exchange.py -rwxr-xr-x 4.9 KB
gnomonic.c -rw-r--r-- 2.2 KB
multicoupled.cfg -rw-r--r-- 2.4 KB
signon.py -rwxr-xr-x 2.4 KB
test1.sh -rwxr-xr-x 2.3 KB
test2.sh -rwxr-xr-x 4.0 KB
test5.sh -rwxr-xr-x 2.4 KB

back to top