Module type Units.DegreesType

Degrees and radians, with conversions between them.

Again, this module uses float, but this can be hidden to avoid mixing the types.

include Unit
type t
val to_float : t -> float
val of_float : float -> t
val to_rad : t -> float

To and from radians.

val of_rad : float -> t