Elementary functions : algorithms and implementation (2016)