home *** CD-ROM | disk | FTP | other *** search
- Short: Efficient large & small integer math+IO.
- Uploader: agmsmith@Achilles.net
- Author: agmsmith@FreeNet.Carleton.ca
- Type: util/libs
- Version: 1.0
-
- Intoids.library is an Amiga runtime shared code library for efficiently
- handling arbitrarily large integers without making things slow for
- small integer values.
-
- * Small integers (+-0x3FFFFFFF) are encoded directly into a pointer
- sized field, avoiding the need for memory allocations. Larger values
- store a pointer to the value in the same sized field. The end
- programmer doesn't need to be aware of the difference, it is
- automatically handled and always fits convieniently in 32 bits.
-
- * There are functions for reading and writing the AGMS Portable Integer
- binary file format. Arbitrary integers are compactly written to or
- read from a stream or buffer.
-
- * Besides integers as large as 1048576 bits (a megabit), infinity and
- not-a-number can also be represented.
-
- * Language localisation for error messages and special numbers (like
- "infinity") is possible through locale.library.
-
- * Source code is included. There's lots of documentation, including
- Autodoc descriptions of all the functions and file formats.
-
- * Distributed under the GNU library general public license.
-
- * Include files and glue are available for SAS C and GNU C. A .FD file
- is also included so you can make bindings for other compilers.
-
- * Does basic math: +,-,*,/, the usual comparisons, allocation functions
- and conversions between ASCII text, 32 bit integers and the AGMS
- Portable Integer Format. Other functions are easily adapted from
- the GNU large integer library (the origin for the math code, source
- included too), if you need them.
-
- - Alex
-