ac

command module
v0.0.0-...-3170472 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 9 Imported by: 0

README

ac is a basic architectural calculator.

To install, run go install github.com/aclements/ac@latest.

The ac command supports the usual arithmetic operations over numbers and dimensions of the form

<n>' <n>"

Any number can also include a fractional part separated by a space, such as "1 1/2". The fractional part must not include any spaces.

Examples:

9' - 20"
= 7' 4"

8' 1 1/2" / 2
= 4' 3/4"

ac uses arbitrary-precision rational numbers for all arithmetic.

Documentation

Overview

ac is a basic architectural calculator.

The ac command supports the usual arithmetic operations over numbers and dimensions of the form

<n>' <n>"

Any number can also include a fractional part separated by a space, such as "1 1/2". The fractional part must not include any spaces.

Examples:

9' - 20"
= 7' 4"

8' 1 1/2" / 2
= 4' 3/4"

ac uses arbitrary-precision rational numbers for all arithmetic.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL