Latest / Learning & reference

fas

github.com · Open source · Quiet

Header-only C++ floating point arithmetic for any mantissa, exponent and base

Visit github.com ↗Share

  • floating point
  • header only
  • floatingpoint
  • template metaprogramming
  • float
  • cpp17
  • software floating point
  • cpp float library
  • header only cpp
Stars
83
Forks
4
Open issues
0
Last commit
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

fas is a header-only C++ library that implements floating point arithmetic with types of any mantissa size, exponent and base. It was written as a learning project about floats and C++. It suits anyone curious about how floating point works in software.

Repository description on GitHub: “A floating point arithmetic which works with types of any mantissa, exponent or base in modern header-only C++.”

What it does

  • Floating point arithmetic with any mantissa, exponent and base types
  • Header-only C++ that keeps all operations on the stack
  • Arithmetic operators that behave like native float or double

Good for

  • Experiment with custom-precision float types in C++
  • Study how software floating point is implemented

Suits: Anyone curious about how floating point works in software.

Worth knowing: Written as a learning project and not intended for practical use.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw fas on , when seg_fault posted it to Show HN. GitHub listed no published releases for clemensmanert/fas when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 79 points, 41 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 79 points, 41 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: clemensmanert/fas
  2. Found: seg_fault posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was fas released?
No dated release record is available. Kip found it on Show HN on 18 Oct 2024.
Is fas open source?
Its source is public on GitHub at clemensmanert/fas; check the repository for licence terms.
What does fas run on?
Library.
Is fas free?
It is open source, so the code is free to read and run; check the licence for terms.
Is fas still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryclemensmanert/fas
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-41881722. Summary written by KipFound’s editor.

Share

Similar tools

More in Learning & reference

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.