Fixed Point: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Fixed Point
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Free Pascal doesn't provide built-in language support for Fixed-point type. However there are a number of fixed point maths libraries available. | |
| 2 | + | ||
| 3 | + | Due to the potential optimization of a certain operations (i.e. division or square root) the code might contain CPU specific inline assembly restricting the use of the library. | |
| 4 | + | ||
| 5 | + | | Library | CPU Restrictions | Notes | | |
| 6 | + | |----|----|----| | |
| 7 | + | | AFP | | <https://community.atmel.com/projects/afp-arbitrary-fixed-point-lib> | | |
| 8 | + | | FPMath v0.1 converted to Pascal | x86_64 only | <https://forum.lazarus.freepascal.org/index.php?topic=15895.0> by Jameel halabi | | |
| 9 | + | ||
| 10 | + | --- | |
| 11 | + | *From the Free Pascal wiki, page "Fixed Point", as it stood on 2021-02-25 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 12 | + | Category: Libraries |
