NAME
obscure.ops - Obscure Mathmatical Opcodes
DESCRIPTION
Parrot's library of obscure ops.
To use this library of ops, add this directive to your PIR:
.loadlib 'obscure_ops'
Obscure trigonometric operations
Reference:
Abramowitz, M. and Stegum, C. A. (Eds.). Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, 9th printing. New York: Dover, p. 78, 1972.
- covers(out NUM, in NUM) Set $1 to the coversine (in radians) of $2.
- exsec(out NUM, in NUM) Set $1 to the exsecant of $2 (given in radians).
- hav(out NUM, in NUM) Set $1 to the haversine (in radians) of $2.
- vers(out NUM, in NUM) Set $1 to the versine (in radians) of $2.
COPYRIGHT
Copyright (C) 2001-2008, Parrot Foundation.
LICENSE
This program is free software. It is subject to the same license as the Parrot interpreter itself.