config

© 2005 John Abbott
GNU Free Documentation License, Version 1.2



index page

User documentation for files config.H

The file config.H defines certain global concepts which may be used by any of the files in the CoCoA library; in particular, this will include any definitions needed to ensure platform independence. Consequently, every header file in the CoCoA library should include the header file CoCoA/config.H.

The file config.H contains the following: - typedefs for SmallFpElem_t and SmallFpLogElem_t which are used in RingFpImpl and SmallFpImpl (and their Log counterparts) - typedef for SmallExponent_t which is used internally in some PPMonoid implementations.

Maintainer documentation for files config.H and config.C

The typedef for SmallFpElem_t fixes the choice of representing type for elements in a SmallFpImpl which are used to implement a RingFpImpl; the type SmallFpLogElem_t does the same for SmallFpLogImpl and RingFpLogImpl. These types should be some size of unsigned integer; the best choices are probably platform dependent. If you want to try different choices, you will probably have to recompile the whole CoCoA library.

Bugs, Shortcomings, and other ideas

Putting SmallFpElem_t and SmallFpLog_t here is ugly. How can I do it better?