Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Oct 20, 2013
  1. .gitignore

    authored
Commits on Feb 24, 2010
  1. add README

    Mark Dominus authored
  2. missing declarations and other cleanups

    Mark Dominus authored
Commits on Mar 17, 2007
  1. cf_append:

    mjd authored
    Started on cf_append, for making fractions whose terms are the result
    of appending the terms from other fractions.
    
    cf_arith.c:
    
    Minor: change number of iterations of arithmetic loop from 12 to 30 to
    avoid premature termination when calculating (for example) phi +
    (1+sqrt(2)).
    
    cf_per.c:
    
    Add function new_array, returns finite nonperiodic CF.  Now this file
    needs renamed.
    
    cf_between:
    
    This file will contain the function between(a, b), which will return
    the simplest fraction between a and b.
    
    between.c:
    
    Demo / util program for between().
    
    appendtest.c:
    
    Tests for cf_append functions.
    
    arraytest.c:
    
    Tests for cf_per/new_array functions.
    
    surd2.c:
    
    Tests for cf_per/new_periodic functions.  (surd.c already tests
    cf_per/new_periodic2.)
    
    Makefile:
    
    Added new files; use LDFLAGS variable
Commits on Mar 16, 2007
  1. eventually-periodic CFs, and a simple test

    mjd authored
Commits on May 3, 2005
  1. *** empty log message ***

    mjd authored
Commits on Feb 1, 2005
  1. INFINITY seems to have problems compiling under darwin; it's probably

    mjd authored
    reserved.  So I replaced it with C_INF.
    
    Also more makefile improvements.
  2. "dist" target for Makefile

    mjd authored
  3. Added cf_it for CFs whose terms are calculated as f(0), f(1), f(2), .…

    mjd authored
    ….. .
    
    cf_it also exports e(), which constructs e.  (Replace this with
    e^(2/n) in the future.)
    
    Generalized structure of cf_holo to support decimal-digit-producing
    streams.  This needs refactoring.   holo and dec should inherit from a
    common abstract superclass.
    
    Added new_dec and related machinery to cf_holo.
    
    Fixed bug in debugging output.
    
    Added these new features to the demo program.
    
    Documentation.
  4. Reorganized main demo program into switch instead of if-else; much

    mjd authored
    tidier now.  Added basic docs for it.  Need to mark them up in nroff!
  5. Docs about subclassing

    mjd authored
  6. Initial revision

    mjd authored
Something went wrong with that request. Please try again.