some work-in-progress code to support faster low-precision elementary functions