Module IntMath

module IntMath: sig .. end
Trigo math with ints


Using integers for trigo math may seem unusual, the goal is to get deterministic results.

The angles are not in degrees in the interval (0 .. 360), but in tenth of degrees in the interval (0 .. 3600).
val sin : int -> int
val cos : int -> int
val tan : int -> int
val asin : int -> int
val acos : int -> int
val atan : int -> int
module Unsafe: sig .. end