commit | f1e302e742720b8218730424ce2180a4fa3e14ed | [log] [tgz] |
---|---|---|
author | Gavin Howard <yzena.tech@gmail.com> | Mon Feb 26 13:21:16 2018 -0700 |
committer | Gavin Howard <yzena.tech@gmail.com> | Tue Aug 28 17:10:33 2018 -0600 |
tree | 93a74d8c17b01e15136c07eab0b35d14f1b0838c | |
parent | 819d7ada35f6395d97517fb9c24643b8043ea09f [diff] |
Set scale in the math library
This is an implementation of POSIX bc
that implements GNU bc
extensions.
This bc
is Free and Open Source Software (FOSS). It is licensed under the BSD 3-clause License, with a special exemption for the Toybox project to use it under the BSD 0-clause License.
Because this bc
makes use of arbprec
by cmgraff and hexingb et al, this bc
is a collaborative effort. All arbprec
contributors are considered bc
contributors.
This bc
is not even in alpha stage yet, so it is not ready for use. However, at this time, it can do basic math operations (+
, -
, *
, /
, %
) on constants.
After cloning, make sure to run git submodule update --init --recursive
to clone the arbprec
submodule.
This bc
is written in pure ISO C99.
This bc
uses the git workflow described in this post. Developers who want to contribute are encouraged to read that post carefully.
For feature branches, it uses rebase + merge --no--ff
(option 3). It also uses a master
/release
split. (Main development is on master
, and release
just points to the latest tagged release to make it easy for users to get the latest release.)
This bc
includes scripts and a .gitconfig
that helps manage the workflow. New contributors should familiarize themselves with them.
This bc
uses the commit message guidelines laid out in this blog post.
This bc
uses semantic versioning.
Every folder contains a README file which lists the purposes for the files and folders in that directory.
Files:
LICENSE.md A Markdown the BSD 3-clause License. NOTICE.md List of contributors and copyright owners.
Folders:
docs Contains all of the documentation (currently empty). include Contains all of the public header files. src All source code. tests Tests.