The trigonometry library, omtrig, is a collection of trigonometric functions based on the C math library. It augments the floating point library. You can use the functions in this library to write OmniMark applications that can perform double-precision floating point arithmetic.

The trigonometry function library consists of the following files:

- omfloat.so (for UNIX) or omfloat.dll (for Windows), the floating point library.
- omtrig.xmd, which defines all of the functions and constants in the library. This file must be included in any OmniMark program that uses the functions in the trigonometric library (
`import omtrig.xmd unprefixed`

).

Importing the omfloat.xmd module does not automatically also import the floating point module. They both have to be imported.

To use omtrig, you must import it into your program using statements like this:

import "omtrig.xmd" unprefixed import "omfloat.xmd" unprefixed

(Please see the `import`

topic
for more on importing.)