GEOS SDK TechDocs
|
|
1.1 Algebraic Functions
|
1.3 Random Number Generation
The Math Library provides an array of transcendental routines that operate on GEOS FP numbers. A transcendental function is one which cannot be derived through algebraic means. Examples of transcendental functions include the trigonometric functions (sine, cosine, etc.) and the logarithmic functions (log, natural log, etc.).
The table above lists the function names and the operations they perform. Typical functions in C are listed alongside. (The basic language of C itself includes no such transcendental functions but almost all compilers include a C math library that does.) As can be seen in the table, several functions have no equivalent C operation. Consult Float Formats for more details on using these functions.
GEOS SDK TechDocs
|
|
1.1 Algebraic Functions
|
1.3 Random Number Generation