https://hgpu.org/?p=8497
Correctly rounding elementary functions on GPU