C++ library: Trigonometric functions for sexagesimal inputs