AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

misc/math/libalgo.lha

Mirror:Random
Showing: m68k-amigaos icongeneric icon
No screenshot available
Short:Libalgo link library with source (PPC)
Author:Arnand Turpel, Patrick Dostert, Andreas R. Kleinert (port)
Uploader:info ar-kleinert de
Type:misc/math
Architecture:ppc-powerup
Date:2000-06-01
Download:misc/math/libalgo.lha - View contents
Readme:misc/math/libalgo.readme
Downloads:531

 *************************************************************************

Algomath- c Library   Release 1.0.5   03.2000
-------------------   -------------   -------

Algomath is a portable Arithmetic C Library.
All routines have been thoroughly optimised for speed and efficiency,
while at the same time portable C. [...]

Download the latest release at:
http://www2.vo.lu/homepages/armand/index.html

You are free to do anything you desire with this code,
as long as you give credit where credit is due...

For criticism, fixes, suggestions, enhancements, send email to:

Armand Turpel: armandt@unforgettable.com

Patrick Dostert: patrick.dostert@cie.etat.lu
who helped in optimizing this library

[...]

int am_init()
void am_exit()

int am_numlength(int n)
int am_sumdigits(int n)
int am_sumdigitsalt(int n)
int am_extract(int n, int x)
int am_replace(int n, int d1, int d2)
int am_swap(int n, int d1, int d2)
int am_rotate(int n, int x, int p)
int am_sort( int n)

int am_sumdivisor(int n)
int am_gcd(int a, int b)
int am_hailstone(int n)

int am_isprime(int n)
int am_prime_ba(int t, int x)
int *am_primes_array(int n, int x)
int *am_primes_between(int n1, int n2, int *p)
int *am_factorize(int n, int *factors)
int am_goldbach(int n,int *d1, int *d2)

[...]

  Luxembourg, 11.1999,
  Armand Turpel

 *************************************************************************

 The Amiga version only comes with makefile for PPC (and a precompiled libalgo.a)
 plus a test program. However, it should be really simple to do a 68k version.

 The test program demonstrates

    "--'strong' Goldbach's Conjecture
        The Conjecture is, "Every even integer >= 4 is the sum of
        two primes.--"

 by performing am_goldbach on 16 by default. Alternatively one can
 say

    test [number]

 which will work for even numbers and give an error for odd numbers...

 --
 ARK, 30/May/2000


Contents of misc/math/libalgo.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  463    1087  42.6% -lh5- 6f4a May 30  2000 algomath/algomath.h
[generic]                 7966   10716  74.3% -lh5- f5e1 Oct 19  1999 algomath/assembly/obj/isprime.o
[generic]                 7968   10716  74.4% -lh5- c8e9 Oct 20  1999 algomath/assembly/obj/isprime.obj
[generic]                 9494   19538  48.6% -lh5- 7357 Apr 12  2000 algomath/assembly/src/isprime.asm
[generic]                 6761   30944  21.8% -lh5- aa96 May 30  2000 algomath/lib/libalgo.a
[generic]                  983    2052  47.9% -lh5- 5037 May 30  2000 algomath/libalgo.readme
[generic]                  327     566  57.8% -lh5- 06bf May 30  2000 algomath/main.c
[generic]                  775    1754  44.2% -lh5- 4d80 May 30  2000 algomath/makefile
[generic]                 4528   13464  33.6% -lh5- 3370 May 30  2000 algomath/readme.txt
[generic]                  604    2329  25.9% -lh5- fc5f May 30  2000 algomath/smakefile
[generic]                  175     274  63.9% -lh5- 69a1 May 30  2000 algomath/src/defs.h
[generic]                   74      93  79.6% -lh5- f4de May 30  2000 algomath/src/exit.c
[generic]                  242     732  33.1% -lh5- 8c5d May 30  2000 algomath/src/extdigx.c
[generic]                  281     594  47.3% -lh5- 0252 May 30  2000 algomath/src/fact.c
[generic]                  117     160  73.1% -lh5- aa0e May 30  2000 algomath/src/gcd.c
[generic]                  232     641  36.2% -lh5- 8317 May 30  2000 algomath/src/goldbach.c
[generic]                  463     911  50.8% -lh5- 8ff0 May 30  2000 algomath/src/hail.c
[generic]                  487    1342  36.3% -lh5- 1f79 May 30  2000 algomath/src/init.c
[generic]                  244     430  56.7% -lh5- a954 May 30  2000 algomath/src/isprime.c
[generic]                  179     529  33.8% -lh5- 5d52 May 30  2000 algomath/src/numlen.c
[generic]                  517    1322  39.1% -lh5- 80e0 May 30  2000 algomath/src/priarrab.c
[generic]                  480    1612  29.8% -lh5- 467f May 30  2000 algomath/src/priarray.c
[generic]                  392    1366  28.7% -lh5- cd55 May 30  2000 algomath/src/primeab.c
[generic]                  412    1486  27.7% -lh5- 7d2e May 30  2000 algomath/src/repdig.c
[generic]                  455    1461  31.1% -lh5- cdc0 May 30  2000 algomath/src/rotatex.c
[generic]                  227     480  47.3% -lh5- b8b4 May 30  2000 algomath/src/sdigalt.c
[generic]                  267     479  55.7% -lh5- 944d May 30  2000 algomath/src/sortdig.c
[generic]                  188     749  25.1% -lh5- 2d11 May 30  2000 algomath/src/sumdigit.c
[generic]                  218     387  56.3% -lh5- 7981 May 30  2000 algomath/src/sumdiv.c
[generic]                  421    1607  26.2% -lh5- de82 May 30  2000 algomath/src/swapdig.c
[generic]                13777   29665  46.4% -lh5- 3a3c May 30  2000 algomath/test.elf
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        31 files   59717  139486  42.8%            May 31  2000
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>