https://github.com/kaidokert/tfixed
Import of C++ fixed point library by Anthony Williams
https://github.com/kaidokert/tfixed
cpp fixed-point
Last synced: 12 months ago
JSON representation
Import of C++ fixed point library by Anthony Williams
- Host: GitHub
- URL: https://github.com/kaidokert/tfixed
- Owner: kaidokert
- Created: 2015-10-12T00:16:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-04-30T01:25:42.000Z (almost 3 years ago)
- Last Synced: 2025-04-10T04:58:29.360Z (12 months ago)
- Topics: cpp, fixed-point
- Language: C++
- Size: 31.3 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is fixed point library by Anthony Williams, published in Dr. Dobbs April 2008
This code has been in https://github.com/XCSoar project, but was recently removed.
Last revision:
https://github.com/XCSoar/XCSoar/blob/45b4dbe7ebd601975c110f506fede2bd5bf8450f/src/Math/fixed.hpp
While importing to repo, applied 'astyle -A2 -s4 -W' to deal with unix/win linefeeds and formatting
Original articles
https://www.justsoftwaresolutions.co.uk/news/optimizing-applications-with-fixed-point-arithmetic.html
Boost discussion
Thread start
http://lists.boost.org/Archives/boost/2007/04/120357.php
Anthony's code post
http://lists.boost.org/Archives/boost/2007/05/121707.php
Recent
http://lists.boost.org/Archives/boost/2013/02/200690.php
A bunch of alternatives
http://stackoverflow.com/questions/2945747/c-fixed-point-library