Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fschuindt/cfib

A C program to calculate a given Fibonacci term position.
https://github.com/fschuindt/cfib

Last synced: 3 days ago
JSON representation

A C program to calculate a given Fibonacci term position.

Awesome Lists containing this project

README

        

# CFib v0.1.0
*It's a C Fibonacci **CALCULATOR**. Note it don't iterate over the sequence. Results are aproximations.*

To be used in further computation research and benchmark.

See: https://github.com/fschuindt/archimedes

## Usage

### Compiling
```
$ gcc fib.c -o cfib
```

### Running
```
$ cfib 8
21.000000000000005
```

A `--help` option is also available.