Sign in Join
Wiki copytemporary

Revision 1 of 1, by Trev on 2-25-2021. The page as it is now.

Fixed Point

Free Pascal doesn't provide built-in language support for Fixed-point type. However there are a number of fixed point maths libraries available.

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.

Library CPU Restrictions Notes
AFP https://community.atmel.com/projects/afp-arbitrary-fixed-point-lib
FPMath v0.1 converted to Pascal x86_64 only https://forum.lazarus.freepascal.org/index.php?topic=15895.0 by Jameel halabi

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.