๐Ÿงฎ FORTBITE

High-Precision Mathematical Calculator in Modern Fortran

Overview

FORTBITE is a modern high-precision mathematical calculator implemented in Fortran 2008+. It provides comprehensive mathematical functionality with an intuitive interactive interface, perfect for scientific computing, engineering calculations, and mathematical education.

๐Ÿ”ข High Precision

Configurable decimal precision for accurate calculations

๐Ÿ“ Complex Numbers

Full support for complex arithmetic operations

๐Ÿ”ข Matrix Operations

Create, transpose, and manipulate matrices efficiently

๐Ÿ“Š Math Functions

Comprehensive library of trigonometric, logarithmic, and statistical functions

๐Ÿ’พ Variables

Store and reuse values with intuitive assignment syntax

๐Ÿ›ก๏ธ Error Handling

Robust error detection and user-friendly messages

Installation

RHEL/CentOS/Rocky/Alma/Fedora

Repository Installation (Recommended)

# Add the repository
sudo dnf config-manager --add-repo https://repos.musicsian.com/musicsian.repo # Install FORTBITE
sudo dnf install fortbite

Direct RPM Installation

# Download and install directly
curl -O https://repos.musicsian.com/RPMS/fortbite-1.0.0-1.el9.x86_64.rpm
sudo rpm -ivh fortbite-1.0.0-1.el9.x86_64.rpm
Arch Linux

AUR Package Available

# Install using yay
yay -S fortbite # Or using paru
paru -S fortbite # Start the calculator
fortbite

Build Requirements

Automatically installs: gcc-gfortranโ‰ฅ4.8, make

From Source

# Clone and build
git clone https://github.com/FortranGoingOnForty/fortbite.git
cd fortbite
make
sudo make install

Usage Examples

Basic Arithmetic

$ fortbite
fortbite> 2 + 3 * 4
14.000000000000000

fortbite> (2 + 3) * 4  
20.000000000000000

fortbite> 2**10
1024.0000000000000

Mathematical Functions

fortbite> sqrt(16)
4.0000000000000000

fortbite> sin(pi/2)
1.0000000000000000

fortbite> log(exp(1))
1.0000000000000000

fortbite> abs(-42.5)
42.500000000000000

Matrix Operations

fortbite> ones(2,2)
[2x2 matrix]
  1.0000000000000000  1.0000000000000000
  1.0000000000000000  1.0000000000000000

fortbite> eye(3)
[3x3 matrix]
  1.0000000000000000  0.0000000000000000  0.0000000000000000
  0.0000000000000000  1.0000000000000000  0.0000000000000000
  0.0000000000000000  0.0000000000000000  1.0000000000000000

fortbite> matrix := zeros(2,2)
fortbite> transpose(matrix)
[2x2 matrix]
  0.0000000000000000  0.0000000000000000
  0.0000000000000000  0.0000000000000000

Variables and Precision

fortbite> x := 42.123456789
fortbite> x
42.123456789000001

fortbite> x::5
42.123

fortbite> pi::10
3.1415926536
Note: For nested function calls like transpose(ones(2,2)), use intermediate variables for optimal memory performance:
matrix := ones(2,2)
transpose(matrix)

Features

Documentation

Complete documentation is included with the installation:

System Requirements