Library functions for general purpose and for astronomical purposes.