GMP compiler

GMP compiler tool simplifies the use of GMP, the GNU multiple precision library.
Download

GMP compiler Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Ray Zandbergen
  • Publisher web site:

GMP compiler Tags


GMP compiler Description

GMP compiler tool simplifies the use of GMP, the GNU multiple precision library. GMP compiler tool simplifies the use of GMP, the GNU multiple precision library. It scans a C source file for specially marked GMPS arithmetic expressions and replaces them with plain C.The abbreviation gmpc stands for GMP compiler, or alternatively GMPS-to-C compiler. GMPS arithmetic expressions are straightforward infix expressions which transparently support the special types mpq_t, mpz_t and mpf_t as defined by GMP. GMPS means, rather unimaginatively, `GMP script'.No dependencies are added to the resulting C source, so there is no need to include additional header files or link with special libraries other than GMP.Invoking gmpcTo translate a .gmpc file to C source, at least the input and output files must be given. The most concise invocation would look like this: gmpc -o foo.c foo.gmpcThis will translate foo.gmpc into foo.c.It is highly recommended to enable all warnings with the -Wall switch: gmpc -Wall -o foo.gmpc foo.cOther switches can be used to change the default behaviour of gmpc. They are listed in the following sections.What's New in This Release:· Added support for C-like compound assignments, increment and decrement operators.· Fixed an assignment precedence bug.· Temporary variables and constants are grouped together to make generated code more readable.· Added Doxygen comments and configuration file.


GMP compiler Related Software