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:
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.)