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
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.
Fixed two bugs in lg_pow(a, n), which computes a^n.
Tip revision: e6414a7
File | Mode | Size |
---|---|---|
Cookbook1 | ||
Cookbook2 | ||
Cookbook3 | ||
Cookbook4 | ||
Cookbook5 | ||
Cookbook6 | ||
Cookbook7 | ||
Cookbook8 | ||
Cookbook9 | ||
Full | ||
Regional | ||
Makefile.am | -rw-r--r-- | 3.7 KB |
example0.cfg | -rw-r--r-- | 191 bytes |
example1.cfg | -rw-r--r-- | 193 bytes |
Computing file changes ...