Title: Flexible precision control and dynamic data structures for programming mathematical and numerical algorithms